Reply To: Spoilers

Home Forums Forum Spoilers Reply To: Spoilers

Bob Marley

    I had an idea on how to hack something together via CSS. I could set up a style for a custom class for the default to be black text on a black background and then use the hover pseudo-class to change the font to normal and remove the background color. On the user side, you’d need to wrap the stuff you want to denote as a spoiler in a span tag and add the class to the class attribute

    Wouldn’t be as nice as the collapsible box we’re used to but should do in a pinch

    • This reply was modified 8 months, 2 weeks ago by Bob Marley.