fill and no repeat background image css

CSS
/* with CSS 3 */
#yourdiv {  
    background: url('bgimage.jpg') no-repeat;
    background-size: 100%;
}
Source

Also in CSS: