diff --git a/_visibility.scss b/_visibility.scss new file mode 100644 index 0000000000..88c50b05d5 --- /dev/null +++ b/_visibility.scss @@ -0,0 +1,5 @@ +// Visibility + +@mixin invisible { + visibility: hidden !important; +} diff --git a/scss/_mixins.scss b/scss/_mixins.scss index 8c2b9290ea..375e8486d2 100644 --- a/scss/_mixins.scss +++ b/scss/_mixins.scss @@ -28,6 +28,7 @@ @import "mixins/text-emphasis"; @import "mixins/text-hide"; @import "mixins/text-truncate"; +@import "mixins/visibility"; // // Components @import "mixins/alert"; diff --git a/scss/utilities/_visibility.scss b/scss/utilities/_visibility.scss index cdb1428698..fcedc9cb91 100644 --- a/scss/utilities/_visibility.scss +++ b/scss/utilities/_visibility.scss @@ -3,7 +3,7 @@ // .invisible { - visibility: hidden !important; + @include invisible(); } // Responsive visibility utilities