mirror of
https://github.com/twbs/bootstrap.git
synced 2025-11-07 00:05:24 -05:00
Merge 1903e246e98f605169dbadaba4fbfb2f645ed702 into 12b3f76cc497ea59c471b9eeb89f9bbb58991dba
This commit is contained in:
commit
01693ef9a3
@ -6,3 +6,20 @@
|
||||
.visually-hidden-focusable:not(:focus):not(:focus-within) {
|
||||
@include visually-hidden();
|
||||
}
|
||||
|
||||
// Responsive visually hidden utilities
|
||||
//
|
||||
// Generates `.visually{-breakpoint}-hidden` classes that apply the
|
||||
// `visually-hidden` mixin starting at each breakpoint and up,
|
||||
// enabling screen-reader-only content that is conditionally hidden
|
||||
// based on viewport size.
|
||||
|
||||
@each $breakpoint in map-keys($grid-breakpoints) {
|
||||
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||||
|
||||
@include media-breakpoint-up($breakpoint) {
|
||||
.visually#{$infix}-hidden {
|
||||
@include visually-hidden();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user