Dear Bart and Nicolas,

I am unsure why this thread ended up in [email protected] but judging by the content, I'd suggest you run it by the public mailing list is for technical discussion on Cascading Style Sheets (CSS) and its specifications:
  https://lists.w3.org/Archives/Public/www-style/

Or, another venue could be the Web Platform Incubator Community Group, a lightweight venue for proposing and discussing new web platform features, open to developers, designers, and anyone passionate about the Web a place to hold discussions and publish ideas.
  https://www.w3.org/community/wicg

Best regards,
Coralie

On Fri, 23 Oct 2015 00:57:17 +0200, Bart Humphries <[email protected]> wrote:

Yes, you could certainly add that tag to your HTML pages then add that CSS. Change the font color to the background color, then on mouseover charge the
font color back. It wouldn't really work on mobile, though.
On Oct 21, 2015 3:36 PM, "Nicolas Duclos" <[email protected]> wrote:

Hi,

I got a suggestion for HTML5 and CSS3 about a spoiler tag without using
javascript.

*How could it work?*

Easy, just use the tag <spoiler> </spoiler>

All the text inside the spoiler tag will be hidden behind a black box
(default), but can be modified with new CSS.

*The CSS :*

spoiler {
spoiler-color: The color of the block. Possibility to add blurry box to
make the hidden text blurry with blur(0 to 1);
border-radius : To change the radius of the extremities.
boder : possibility to add a border to the spoiler block.
}
spoiler:hover { Show hidden text when you are hover the spoiler tag. Hide
the text again when not hover.
background-color :
color :
font-style:
}
spoiler:click { Show hidden text when you click on spoiler tag.
background-color :
color :
font-style:
}

Hope it will be a possibility in the futur.

Thank you

Nicolas


--
Coralie Mercier  -  W3C Marketing & Communications -  http://www.w3.org
mailto:[email protected] +336 4322 0001 http://www.w3.org/People/CMercier/

Reply via email to