/
githubmirror
/
ionic-framework
Обзор
Документация
Войти
/
githubmirror
/
ionic-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
core/src/css/float-elements.scss
30 строк
804 B
Ryan Waskiewicz
chore(scss): remove injected global styles (#26469)
13 дек 2022, 16:34
Не верифицирован
13 дек 2022, 16:34
16dcd2d
Код
Авторство
О чём код?
@import "../themes/ionic.globals"; @import "../themes/ionic.mixins"; // Float Elements // -------------------------------------------------- // Creates float classes based on screen size @each $breakpoint in map-keys($screen-breakpoints) { $infix: breakpoint-infix($breakpoint, $screen-breakpoints); @include media-breakpoint-up($breakpoint, $screen-breakpoints) { // Provide `.ion-float-{bp}-{side}` classes for floating the element based // on the breakpoint and side .ion-float#{$infix}-left { @include float(left, !important); } .ion-float#{$infix}-right { @include float(right, !important); } .ion-float#{$infix}-start { @include float(start, !important); } .ion-float#{$infix}-end { @include float(end, !important); } } }