0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00

Merge pull request #20441 from cortopy/visibility-mixin

Visibility mixin
This commit is contained in:
Mark Otto 2016-10-27 22:06:47 -07:00 committed by GitHub
commit 8f0429973d
3 changed files with 7 additions and 1 deletions

5
_visibility.scss Normal file
View File

@ -0,0 +1,5 @@
// Visibility
@mixin invisible {
visibility: hidden !important;
}

View File

@ -28,6 +28,7 @@
@import "mixins/text-emphasis"; @import "mixins/text-emphasis";
@import "mixins/text-hide"; @import "mixins/text-hide";
@import "mixins/text-truncate"; @import "mixins/text-truncate";
@import "mixins/visibility";
// // Components // // Components
@import "mixins/alert"; @import "mixins/alert";

View File

@ -3,7 +3,7 @@
// //
.invisible { .invisible {
visibility: hidden !important; @include invisible();
} }
// Responsive visibility utilities // Responsive visibility utilities