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:
commit
8f0429973d
5
_visibility.scss
Normal file
5
_visibility.scss
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// Visibility
|
||||||
|
|
||||||
|
@mixin invisible {
|
||||||
|
visibility: hidden !important;
|
||||||
|
}
|
@ -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";
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
.invisible {
|
.invisible {
|
||||||
visibility: hidden !important;
|
@include invisible();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Responsive visibility utilities
|
// Responsive visibility utilities
|
||||||
|
Loading…
Reference in New Issue
Block a user