1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +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

@@ -17,13 +17,14 @@ Apply `.visible` or `.invisible` as needed.
{% highlight scss %}
// Class
.visible {
visibility: visible;
visibility: visible !important;
}
.invisible {
visibility: hidden;
visibility: hidden !important;
}
// Usage as a mixin
// Warning: The `invisible()` mixin has been deprecated as of v4.3.0. It will be removed entirely in v5.
.element {
@include invisible(visible);
}