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
2017-08-31 15:02:50 +01:00

39 lines
555 B
SCSS

@mixin hidden-xs {
@include breakpoint(max-width) {
display: none;
}
}
@mixin hidden-sm {
@include breakpoint($breakpoint-sm-width) {
display: none;
}
}
@mixin hidden-md {
@include breakpoint($breakpoint-md-width) {
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;
}
.visually-hidden {
@include visually-hidden();
}