mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
improve comments in image styles
This commit is contained in:
parent
bf590d8c81
commit
73ef263d5f
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user