-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Speech-alternative text for pseudo-element content #18859
Closed
stevenvachon
started this conversation in
Ideas
-
element::after { content: 'screen' / 'speech'; }
It'd be great if we could do:
<element class="after:content-['screen' / 'speech']"></element>
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Nevermind! It already can!:
<element class="after:content-['screen'/'speech']"></element>
Notice the spaces around the /
must be removed.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment