I realized that IE7 / 8 background-size assets.
Use this is very common for me:
.image {background-size: 100% auto; / * If the browser does not support: cover value * / Background size: Cover; } But what is the way to go for IE 7 or 8?
-EDIT -
I want to apply it to many images. Something like this:
& lt; Ul & gt; & Lt; Li class = "image" style = "background-image: url ('path / to / img1');" & Gt; & Lt; / Li & gt; & Lt; Li class = "image" style = "background-image: url ('path / in / IMG2');" & Gt; & Lt; / Li & gt; & Lt; Li class = "image" style = "background-image: url ('path / in / IMG3');" & Gt; & Lt; / Li & gt; & Lt; Li class = "image" style = "background-image: url ('path / in / IMG4');" & Gt; & Lt; / Li & gt; & Lt; / Ul & gt;
There are many other ways to go there and check that you like < / P>
No comments:
Post a Comment