2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Remove custom properties from examples so that they work in IE (#27634)

This commit is contained in:
Martijn Cuppens
2018-11-11 09:52:06 +01:00
committed by XhmikosR
parent 731f95bded
commit 6cb6e6510c
2 changed files with 9 additions and 18 deletions
+4 -8
View File
@@ -1,17 +1,13 @@
:root {
--jumbotron-padding-y: 3rem;
}
.jumbotron {
padding-top: var(--jumbotron-padding-y);
padding-bottom: var(--jumbotron-padding-y);
padding-top: 3rem;
padding-bottom: 3rem;
margin-bottom: 0;
background-color: #fff;
}
@media (min-width: 768px) {
.jumbotron {
padding-top: calc(var(--jumbotron-padding-y) * 2);
padding-bottom: calc(var(--jumbotron-padding-y) * 2);
padding-top: 6rem;
padding-bottom: 6rem;
}
}