0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/scss/utilities/_visibility.scss

56 lines
857 B
SCSS
Raw Normal View History

2015-04-18 20:38:47 +02:00
//
// Visibility utilities
2015-04-18 20:38:47 +02:00
//
.invisible {
2016-08-02 18:00:58 +02:00
@include invisible();
}
// Responsive visibility utilities
@each $bp in map-keys($grid-breakpoints) {
.hidden-#{$bp}-up {
@include media-breakpoint-up($bp) {
display: none !important;
}
}
.hidden-#{$bp}-down {
@include media-breakpoint-down($bp) {
display: none !important;
}
}
}
2013-02-06 07:17:28 +01:00
// Print utilities
//
// Media queries are placed on the inside to be mixin-friendly.
.visible-print-block {
display: none !important;
@media print {
display: block !important;
}
}
.visible-print-inline {
display: none !important;
@media print {
display: inline !important;
}
}
.visible-print-inline-block {
display: none !important;
@media print {
display: inline-block !important;
}
}
2013-10-31 10:32:23 +01:00
.hidden-print {
@media print {
display: none !important;
}
}