summaryrefslogtreecommitdiff
path: root/bootstrap/less/mixins/responsive-visibility.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/less/mixins/responsive-visibility.less')
-rwxr-xr-xbootstrap/less/mixins/responsive-visibility.less13
1 files changed, 13 insertions, 0 deletions
diff --git a/bootstrap/less/mixins/responsive-visibility.less b/bootstrap/less/mixins/responsive-visibility.less
new file mode 100755
index 0000000..74d6728
--- /dev/null
+++ b/bootstrap/less/mixins/responsive-visibility.less
@@ -0,0 +1,13 @@
+// stylelint-disable declaration-no-important
+
+.responsive-visibility() {
+ display: block !important;
+ table& { display: table !important; }
+ tr& { display: table-row !important; }
+ th&,
+ td& { display: table-cell !important; }
+}
+
+.responsive-invisibility() {
+ display: none !important;
+}