Tagged: css psuedo content

Browse by Category

Conformance Levels

Questions & Answers

Why can’t I use CSS :before and :after to insert content?

It's really very annoying that CSS pseudo element content, either :before or :after is outlawed. It is a really useful way of storing stock responses to activities, effectively creating global variables that have to be set only once. Eg html[lang="en"] [pageType="multichoice"] .wellDoneDiv::before{ content:"Well Done, that's...

  • CSS
  • css psuedo content