]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
improve comments in image styles
authorMark Otto <markotto@twitter.com>
Tue, 4 Sep 2012 18:31:48 +0000 (11:31 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 4 Sep 2012 18:31:48 +0000 (11:31 -0700)
less/scaffolding.less

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