1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 23:04:32 +02:00

Docs: Add transparency option

This commit is contained in:
Louis-Maxime Piton
2024-09-02 17:26:37 +02:00
parent e3e00b5002
commit ae8c43a9c6
4 changed files with 54 additions and 0 deletions

View File

@@ -109,6 +109,25 @@
}
}
.transparency .bd-example {
@include media-breakpoint-up(md) {
&::before {
@include border-radius(subtract(var(--bs-border-radius), 1px));
}
}
&::before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -9999;
content: "";
background: repeating-linear-gradient(-45deg, var(--bs-secondary-bg) 0, var(--bs-secondary-bg) 15px, transparent 15px, transparent 30px);
}
}
//
// Grid examples
//