You must use modernizr to detect whether browser support webp or not and then apply appropriate style to it
.no-webp .mybackgroundimage
{
background: url('image.jpg') no-repeat;
}
.webp .mybackgroundimage
{
background: url('image.webp') no-repeat;
}