html - How to use responsive background image in css3 in bootstrap -
i dont want use html tag. css. using bootstrap 3.0.
background:url('images/ip-box.png')no-repeat; background-size:100%; height: 140px; display:block; padding:0 !important; margin:0;
on 100% zoom ok. when zoom in @ 180% approx, image short top , bottom, want css tricks.
for full image background, check this:
html { background: url(images/bg.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
Comments
Post a Comment