Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<title>::details-content pseudo element is display: block</title>
<style>
#contents { opacity: 0.5; }
details
</style>
<div>
<div>summary</div>
<div id="contents">contents</div>
</div>