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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -