aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-05-27 19:00:11 -0700
committerMark Otto <[email protected]>2015-05-27 19:00:11 -0700
commit6e3d4331dbfdf83e1e50495446ca2bde4fea0be3 (patch)
tree5737c259920ff87f8564bd4e4e52819d5bad5d44 /scss
parent4bc58b9a5a1be4efb96e1e0e0f334cb2c5c8b7d9 (diff)
downloadbootstrap-6e3d4331dbfdf83e1e50495446ca2bde4fea0be3.tar.xz
bootstrap-6e3d4331dbfdf83e1e50495446ca2bde4fea0be3.zip
new card sizing maybe
Diffstat (limited to 'scss')
-rw-r--r--scss/_card.scss18
1 files changed, 18 insertions, 0 deletions
diff --git a/scss/_card.scss b/scss/_card.scss
index eda67b8ac..d2a8f5364 100644
--- a/scss/_card.scss
+++ b/scss/_card.scss
@@ -4,6 +4,7 @@
.card {
position: relative;
+ display: inline-block;
padding: 1.25rem;
margin-bottom: 1.25rem;
border: .075rem solid #eee;
@@ -46,6 +47,23 @@
//
+// Sizing variations
+//
+
+.card-sm {
+ width: 15rem;
+}
+
+.card-md {
+ width: 30rem;
+}
+
+.card-lg {
+ width: 45rem;
+}
+
+
+//
// Background variations
//