Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
menus

3 Articles
{
,

}
Image
Direct link to the article How to Create Actions for Selected Text With the Selection API
menus selection api

How to Create Actions for Selected Text With the Selection API

Click, drag, release: you’ve just selected some text on a webpage — probably to copy and paste it somewhere or to share it. Wouldn’t it be cool if selecting that text revealed some options that make those tasks easier? That’s …

Image
Preethi on Apr 28, 2021
Image
Direct link to the article In Praise of the Unambiguous Click Menu
menus navigation

In Praise of the Unambiguous Click Menu

I still remember my excitement when I learned how to build a hover-triggered submenu with just CSS. (It was probably after reading this 2003 article from A List Apart.) At the time, it was a true CSS trick. Seriously. …

Image
Mark Root-Wiley on Mar 18, 2021
Image
Direct link to the article Using <details> for Menus and Dialogs is an Interesting Idea
accessibility details/summary menus progressive enhancement

Using <details> for Menus and Dialogs is an Interesting Idea

Using <details for a menu may be an interesting idea, but perhaps not something to actually ship in production. See “More Details on <details“ for an explanation.

One of the most empowering things you can learn as a new …

Image
Chris Coyier on Mar 21, 2019 Updated on Jun 5, 2024

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top
Advertisement