mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-04 00:01:57 -04:00
Compare commits
3 Commits
c09c03e860
...
11d09bba06
Author | SHA1 | Date | |
---|---|---|---|
|
11d09bba06 | ||
|
488329744f | ||
|
40b3f46227 |
@ -6,6 +6,7 @@
|
|||||||
// See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/
|
// See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/
|
||||||
|
|
||||||
@mixin visually-hidden() {
|
@mixin visually-hidden() {
|
||||||
|
display: inline-block !important; // using this rather than position:absolute to allow for width/height/clip to work without causing undue spacing (e.g. in responsive tables)
|
||||||
width: 1px !important;
|
width: 1px !important;
|
||||||
height: 1px !important;
|
height: 1px !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
@ -15,11 +16,6 @@
|
|||||||
white-space: nowrap !important;
|
white-space: nowrap !important;
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
|
|
||||||
// Fix for positioned table caption that could become anonymous cells
|
|
||||||
&:not(caption) {
|
|
||||||
position: absolute !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Fix to prevent overflowing children to become focusable
|
// Fix to prevent overflowing children to become focusable
|
||||||
* {
|
* {
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user