1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02:00

improve comments in image styles

This commit is contained in:
Mark Otto
2012-09-04 11:31:48 -07:00
parent bf590d8c81
commit 73ef263d5f

View File

@@ -32,10 +32,12 @@ a:hover {
// Images // Images
// ------------------------- // -------------------------
// Rounded corners
.img-rounded { .img-rounded {
.border-radius(6px); .border-radius(6px);
} }
// Add polaroid-esque trim
.img-polaroid { .img-polaroid {
padding: 4px; padding: 4px;
background-color: #fff; background-color: #fff;
@@ -44,6 +46,7 @@ a:hover {
.box-shadow(0 1px 3px rgba(0,0,0,.1)); .box-shadow(0 1px 3px rgba(0,0,0,.1));
} }
// Perfect circle
.img-circle { .img-circle {
.border-radius(500px); .border-radius(500px); // crank the border-radius so it works with most reasonably sized images
} }