Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 26, 2020 03:11 pm GMT

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:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks