/ Published in: CSS

Full Background Image in CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
body { background-image: url('sample.jpg'); background-size: cover; background-repeat: no-repeat; background-position: top center; background-attachment: fixed; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='sample.jpg', sizingMethod='scale'); -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='sample.jpg', sizingMethod='scale')"; }
Comments
