1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00

Update .sr-only mixin and utility (#25197)

* Remove clip-path from .sr-only utility as it causes perf regressions in Chrome

* change snippet to example
This commit is contained in:
Mark Otto
2018-02-11 15:05:50 -08:00
committed by GitHub
parent e373fbea92
commit 98111214c2
2 changed files with 2 additions and 4 deletions

View File

@@ -11,7 +11,6 @@
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
clip-path: inset(50%);
border: 0;
}
@@ -30,6 +29,5 @@
overflow: visible;
clip: auto;
white-space: normal;
clip-path: none;
}
}