Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
timdavila
· 10y ago · 0 comments
Using HTML5 tags such as <details>, you don't need CSS or JS!
Try this in Chrome:
https://jsfiddle.net/timdavila/f5rcarmn/
Comments
[–]
cstejerean
10y ago
Unfortunately this is not yet supported in any version of IE, including Edge.
[–]
irrational
10y ago
So I didn't try it in Chrome, and it doesn't work in Firefox, yet. But I can see where this is going and it would be awesome if it actually worked.
[–]
qubitcoder
10y ago
On an encouraging note, it does work in Firefox Nightly (50.0a1).
[–]
enraged_camel
10y ago
Whoa. I learn something new everyday...
[–]
rhgb
10y ago
It's defined in HTML 5.1, which is still Candidate Recommendation.