Created
June 20, 2011 20:20
-
-
Save chriscoyier/1036480 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li> | |
<a href="#">Do a thing</a> | |
<summary> | |
? | |
<details> | |
Bunch of HTML in here. | |
<details> | |
</summary> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is correct, I do, I was just posting this for someone to help me understand.
Turns out it's pretty interesting and functional. It's a bit like a FAQ UI pattern where you can click on the summary to reveal the details. (toggles the "open" attribute)