An Interest In:
Web News this Week
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
November 26, 2020 03:11 pm GMT
Original Link: https://css-tricks.com/exploring-what-the-details-and-summary-elements-can-do/
Exploring What the Details and Summary Elements Can Do
Weve mentioned before just how great the <details>
and <summary>
elements are. Theyre great for quickly making accordions that are accessible to touch, mouse, and keyboard input:
CodePen Embed Fallback
<details>
and <summary>
can even be used to play/pause gifs! Click the pause button in the top right of this image to see it in action:
CodePen Embed Fallback
Neat, eh? But what else can these elements do? For a long while, Ive only thought about details
as a … Read article “Exploring What the Details and Summary Elements Can Do”
The post Exploring What the Details and Summary Elements Can Do appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
Original Link: https://css-tricks.com/exploring-what-the-details-and-summary-elements-can-do/
Share this article:
Tweet
View Full Article