summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/less/mixins/responsive-visibility.less
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/fonts/less/mixins/responsive-visibility.less')
-rwxr-xr-xbootstrap/fonts/less/mixins/responsive-visibility.less13
1 files changed, 13 insertions, 0 deletions
diff --git a/bootstrap/fonts/less/mixins/responsive-visibility.less b/bootstrap/fonts/less/mixins/responsive-visibility.less
new file mode 100755
index 0000000..74d6728
--- /dev/null
+++ b/bootstrap/fonts/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;
+}