Tags in spoilers are always visible, even if you don't put your mouse on the spoiler (on this Code Golf answer for example). See the screenshot:

Spoiler bug

Looks a bit strange on this site too:

that needs !

  • 9
    Another side-effect of their annoying use of the color attribute to hide the spoiler. I don't see why they wouldn't just use opacity...
    – animuson StaffMod
    Apr 26, 2014 at 17:41
  • 2
    @animuson: In that case, “text” would be visible in >! <pre></pre> text (not that it’s common). Setting color for the element, then restoring color for its children and setting opacity could work. Apr 26, 2014 at 19:59
  • @Charmander I'd care a lot less about that scenario since it's not valid.
    – animuson StaffMod
    Apr 26, 2014 at 23:10
  • This is yet another bug that would be fixed by implementing this feature request. Apr 28, 2014 at 9:14
  • 1
    This also happens on main sites, just tested and it happens on Stack Overflow. Dec 15, 2015 at 22:55
  • 1
    @animuson funny, you're now part of "they". :) Dec 15, 2015 at 22:55
  • 3
    Anyway, good news is that this bug does not affect mobile web and apps. :) Dec 15, 2015 at 23:22
  • I just noticed this today. It still happens here on Meta.SA. Dec 17, 2015 at 16:59
  • @Pro the answer you used as example is deleted, can you find a different answer having this bug? May 25, 2016 at 13:39
  • @ShadowWizard When I come across one, I'll put it here. In the meantime, the 'live' example should be enough.
    – ProgramFOX
    May 25, 2016 at 13:52
  • @Pat I was about to remove any mention of "beta sites" as well when starting the bounty, but found that the bug is different between the themes. On beta sites, the whole tag is visible, as we can see in the screenshot, while on graduated sites (like here) only its placeholder is seen. Both bugs of course, but still... the original report is about the beta sites. Jun 1, 2016 at 10:45
  • 1
    @Sha The exact same behavior happens on SO, complete tags there, so it is much broader than just beta sites. (Or, sorry, that was the image of course). Feel free to roll back. Jun 1, 2016 at 10:47
  • 1
    This has been fixed btw, needs a status-completed methinks..
    – user311528
    Mar 20, 2017 at 18:44

1 Answer 1


That is a bug indeed, but with a simple fix.

This CSS overrides the styling on tags when inside a spoiler:

.spoiler .required-tag {
    background-color: transparent;
    border-color: transparent;

.spoiler .post-tag {
    background-color: transparent;
    border-color: transparent;

.spoiler .moderator-tag {
    background-color: transparent;
    border-color: transparent;

This can be simplified if there was a single .tag class.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .