This repository has been archived on 2023-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic.zone/scss/utilities/layout_utilities.scss

39 lines
555 B
SCSS
Raw Normal View History

2017-08-31 11:44:57 +00:00
@mixin hidden-xs {
@include breakpoint(max-width) {
2017-08-31 11:44:57 +00:00
display: none;
}
}
@mixin hidden-sm {
@include breakpoint($breakpoint-sm-width) {
2017-08-31 11:44:57 +00:00
display: none;
}
}
@mixin hidden-md {
@include breakpoint($breakpoint-md-width) {
2017-08-31 11:44:57 +00:00
display: none;
}
}
@mixin hidden-lg {
@include breakpoint($breakpoint-lg-width) {
display: none;
}
}
@mixin visually-hidden {
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
border: 0;
}
2017-08-31 11:44:57 +00:00
.visually-hidden {
@include visually-hidden();
2017-08-31 11:44:57 +00:00
}