html - How to change image size based on the resolution? -


i trying create image enlarge or shrink based on screen resolution.

i using bootstrap , want change image size. problem image not big , not sure how enlarge image if user expend browser window.

my html like:

<div>  <img class='col-md-12' src='img.png'/> </div> 

css

img{   width:100%; } 

thanks help!

this you- these jquery libraries resize images on responsive view

http://responsiveimg.com/

http://responsejs.com/


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -