mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 20:54:30 -07:00
A11y: Add .is-sr-only to helpers (#1764)
This commit is contained in:
committed by
Jeremy Thomas
parent
2b8f6680db
commit
e71c248cde
@@ -158,6 +158,17 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
||||
.is-hidden
|
||||
display: none !important
|
||||
|
||||
.is-sr-only
|
||||
position: absolute !important
|
||||
width: 1px !important
|
||||
height: 1px !important
|
||||
padding: 0 !important
|
||||
border: 0 !important
|
||||
overflow: hidden !important
|
||||
clip: rect(0, 0, 0, 0) !important
|
||||
clip-path: inset(50%) !important
|
||||
white-space: nowrap !important
|
||||
|
||||
+mobile
|
||||
.is-hidden-mobile
|
||||
display: none !important
|
||||
|
||||
Reference in New Issue
Block a user