Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
timdavila
on July 5, 2016
|
parent
|
context
|
favorite
| on:
CSS is powerful, you can do a lot of things withou...
Using HTML5 tags such as <details>, you don't need CSS or JS!
Try this in Chrome:
https://jsfiddle.net/timdavila/f5rcarmn/
cstejerean
on July 5, 2016
|
next
[–]
Unfortunately this is not yet supported in any version of IE, including Edge.
irrational
on July 5, 2016
|
prev
|
next
[–]
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
on July 6, 2016
|
parent
|
next
[–]
On an encouraging note, it does work in Firefox Nightly (50.0a1).
enraged_camel
on July 5, 2016
|
prev
|
next
[–]
Whoa. I learn something new everyday...
rhgb
on July 6, 2016
|
prev
[–]
It's defined in HTML 5.1, which is still Candidate Recommendation.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Try this in Chrome: https://jsfiddle.net/timdavila/f5rcarmn/