1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 00:29:52 +02:00

Deprecate invisible() mixin (#28066)

This commit is contained in:
Martijn Cuppens
2019-02-07 18:19:00 +01:00
committed by XhmikosR
parent c0e42cb89e
commit bcfb7ed159
3 changed files with 8 additions and 4 deletions

View File

@@ -4,4 +4,5 @@
@mixin invisible($visibility) {
visibility: $visibility !important;
@include deprecate("`invisible()`", "v4.3.0", "v5");
}

View File

@@ -1,11 +1,13 @@
// stylelint-disable declaration-no-important
//
// Visibility utilities
//
.visible {
@include invisible(visible);
visibility: visible !important;
}
.invisible {
@include invisible(hidden);
visibility: hidden !important;
}