mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
22 lines
503 B
SCSS
22 lines
503 B
SCSS
// Responsive utilities
|
|
|
|
//
|
|
// More easily include all the states for responsive-utilities.less.
|
|
// [converter] $parent hack
|
|
@mixin responsive-visibility($parent) {
|
|
#{$parent} {
|
|
display: block !important;
|
|
}
|
|
table#{$parent} { display: table; }
|
|
tr#{$parent} { display: table-row !important; }
|
|
th#{$parent},
|
|
td#{$parent} { display: table-cell !important; }
|
|
}
|
|
|
|
// [converter] $parent hack
|
|
@mixin responsive-invisibility($parent) {
|
|
#{$parent} {
|
|
display: none !important;
|
|
}
|
|
}
|