polyfill for form floating
This commit is contained in:
parent
9d35e2e9df
commit
08b5726748
2 changed files with 17 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
@use "sass:list";
|
||||
@import "mixins";
|
||||
@import "./bs-polyfills/buttons";
|
||||
@import "./bs-polyfills/form-floating";
|
||||
|
||||
// SET SOME CLASSES WITH BOOTSTRAP BREAKPOINTS
|
||||
// * Reponsive borders
|
||||
|
|
@ -46,3 +47,16 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Responsive positions
|
||||
@each $breakpoint in map-keys($grid-breakpoints) {
|
||||
@include media-breakpoint-up($breakpoint) {
|
||||
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||||
|
||||
@each $position in map-get(map-get($utilities, "position"), "values") {
|
||||
.position#{$infix}-#{$position} {
|
||||
position: #{$position} !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
.form-floating label {
|
||||
color: var(--bs-body-color);
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue