first commit
This commit is contained in:
21
wp-content/themes/ostal_WP/sass/01-base/_breakpoints.scss
Normal file
21
wp-content/themes/ostal_WP/sass/01-base/_breakpoints.scss
Normal file
@@ -0,0 +1,21 @@
|
||||
@mixin responsive($breakpoint) {
|
||||
@if $breakpoint == small-phones {
|
||||
@media only screen
|
||||
and (max-height: 667px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
@if $breakpoint == tablet {
|
||||
@media only screen
|
||||
and (min-width: 768px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
@if $breakpoint == desktop {
|
||||
@media only screen
|
||||
and (min-width: 1366px)
|
||||
{
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user