1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 14:54:27 +02:00

new card sizing maybe

This commit is contained in:
Mark Otto
2015-05-27 19:00:11 -07:00
parent 4bc58b9a5a
commit 6e3d4331db
2 changed files with 55 additions and 12 deletions

View File

@@ -4,6 +4,7 @@
.card {
position: relative;
display: inline-block;
padding: 1.25rem;
margin-bottom: 1.25rem;
border: .075rem solid #eee;
@@ -45,6 +46,23 @@
}
//
// Sizing variations
//
.card-sm {
width: 15rem;
}
.card-md {
width: 30rem;
}
.card-lg {
width: 45rem;
}
//
// Background variations
//