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

node.js - StackOverflow API not returning JSON -

python - Subclassed QStyledItemDelegate ignores Stylesheet -

php - Laravel 4.1 to Heroku: SQLSTATE[HY000] [2002] No such file or directory -