diff options
Diffstat (limited to 'resources/scss/bootstrap/mixins/_responsive-visibility.scss')
-rw-r--r-- | resources/scss/bootstrap/mixins/_responsive-visibility.scss | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/resources/scss/bootstrap/mixins/_responsive-visibility.scss b/resources/scss/bootstrap/mixins/_responsive-visibility.scss new file mode 100644 index 0000000..1a819c5 --- /dev/null +++ b/resources/scss/bootstrap/mixins/_responsive-visibility.scss @@ -0,0 +1,27 @@ +// 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 !important; + } + 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; + } +} |