2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Replace holder.js with SVGs.

This commit is contained in:
Martijn Cuppens
2018-11-08 19:33:02 +02:00
committed by XhmikosR
parent b04f97f60b
commit 072b5ab7fd
12 changed files with 130 additions and 78 deletions
@@ -212,8 +212,9 @@
}
// Images
.bd-example > img {
+ img {
.bd-example {
> svg + svg,
> img + img {
margin-left: .5rem;
}
}
@@ -0,0 +1,14 @@
//
// Placeholder svg used in the docs.
//
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
}
.bd-placeholder-img-lg {
@include media-breakpoint-up(md) {
font-size: 3.5rem;
}
}
+1
View File
@@ -44,6 +44,7 @@
@import "brand";
@import "colors";
@import "clipboard-js";
@import "placeholder-img";
// Load docs dependencies
@import "syntax";