decePubClient/SCSS/mixins.scss

34 lines
431 B
SCSS
Raw Permalink Normal View History

2022-02-14 01:51:37 +01:00
//MEDIA QUERY MANAGER
@mixin MediaQuery($breakpoint) {
2022-02-14 01:51:52 +01:00
@if $breakpoint==sm {
@media (min-width: 640px) {
2022-02-14 01:51:37 +01:00
@content
}
}
2022-02-14 01:51:52 +01:00
@if $breakpoint==md {
@media (min-width: 768px) {
2022-02-14 01:51:37 +01:00
@content
}
}
2022-02-14 01:51:52 +01:00
@if $breakpoint==lg {
@media (min-width: 1024px) {
2022-02-14 01:51:37 +01:00
@content
}
}
2022-02-14 01:51:52 +01:00
@if $breakpoint==xl {
@media (min-width: 1280px) {
2022-02-14 01:51:37 +01:00
@content
}
}
2022-02-14 01:51:52 +01:00
@if $breakpoint=="2xl" {
@media (min-width: 1536px) {
2022-02-14 01:51:37 +01:00
@content
}
}
}