2016年12月6日 星期二

bootstrap img





ref : http://www.w3schools.com/bootstrap/bootstrap_ref_css_images.asp


<img> Classes

The classes below can be used to style any image:
ClassDescriptionExample
.img-roundedAdds rounded corners to an image (not available in IE8)Try it
.img-circleShapes the image to a circle (not available in IE8)Try it
.img-thumbnailShapes the image to a thumbnailTry it
.img-responsiveMakes an image responsive (will scale nicely to the parent element)

沒有留言:

張貼留言