Answered: Spoiler answer

Post date: 2020-12-02 07:30:57
Views: 125

I don't know if there is a plugin that provides a "spoiler" feature, but with a markdown editor you can (relatively) easily emulate it. Add a style like this to your stylesheet:

.qa-post-content span.spoiler:not(:hover),
.qa-post-content span.spoiler:not(:hover) * {
  color: #aaaaaa;
  background-color: #aaaaaa;
}

and people can write something like this in the edit box:

Lorem ipsum <span class="spoiler">dolor sit amet</span>, consectetur adipiscing elit.

which will then display the <span> as a grey box until the user hovers the mouse over it.

Please click Here to read the full story.
 
Other Top and Latest Questions:
The cost of living... with a canine companion
Carrier, the century-old inventor of the air conditioner, is moving on to the home heat pump
AIG Travel Guard insurance review: What you need to know
Emirates CEO issues apology after Dubai flood chaos; says airline has 30,000 suitcases to return
Global military spending hit all-time high in 2023 after 7% jump, report finds
Any good articles about homelessness and "authority" in the US?
Delta Air Lines gives staff another 5% raise, hikes starting wages to $19 an hour
Given a lifeline by the U.S., Ukraine must now prove it can beat Russia
Movie: Old School
Movie: [REC]4 Apocalypse