Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Speech-alternative text for pseudo-element content #18859

Closed
stevenvachon started this conversation in Ideas
Discussion options

element::after {
 content: 'screen' / 'speech';
}

It'd be great if we could do:

<element class="after:content-['screen' / 'speech']"></element>
You must be logged in to vote

Replies: 1 comment

Comment options

Nevermind! It already can!:

<element class="after:content-['screen'/'speech']"></element>

Notice the spaces around the / must be removed.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /