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

Articles Tagged
navigation

24 Articles
{
,

}
Direct link to the article Icon Glassmorphism Effect in CSS
backdrop-filter background-clip element() emoji filter hsl mask-clip navigation

Icon Glassmorphism Effect in CSS

I recently came across a cool effect known as glassmorphism in a Dribble shot. My first thought was I could quickly recreate it in a few minutes if I just use some emojis for the icons without wasting time …

Ana Tudor on Nov 8, 2021
Direct link to the article Creating a Smart Navbar With Vanilla JavaScript
navigation sticky

Creating a Smart Navbar With Vanilla JavaScript

Sticky, or fixed, navigation is a popular design choice because it gives users persistent access to navigate the site. On the other hand, it takes up space on the page and sometimes covers content is a way that’s less than …

Jemima Abu on Apr 5, 2021
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. …

Mark Root-Wiley on Mar 18, 2021
Direct link to the article Table of Contents with IntersectionObserver
IntersectionObserver navigation

Table of Contents with IntersectionObserver

If you have a table of contents on a long-scrolling page, thanks to, say, position: fixed; or position: sticky;, the IntersectionObserver API in JavaScript is the perfect companion to highlight items in the table of contents when corresponding content …

Chris Coyier on Mar 15, 2021
Direct link to the article How We Improved the Accessibility of Our Single Page App Menu
:focus-within accessibility focus menu navigation

How We Improved the Accessibility of Our Single Page App Menu

I recently started working on a Progressive Web App (PWA) for a client with my team. We’re using React with client-side routing via React Router, and one of the first elements that we made was the main menu. Menus …

Luke Denton on Feb 25, 2021
Direct link to the article How to Create a Shrinking Header on Scroll Without JavaScript
navigation scrolling sticky

How to Create a Shrinking Header on Scroll Without JavaScript

Imagine a header of a website that is nice and thick, with plenty of padding on top and bottom of the content. As you scroll down, it shrinks up on itself, reducing some of that padding, making more screen real …

Håvard Brynjulfsen on Jun 7, 2021
Direct link to the article I Saw Two Mega Menus Today…
navigation

I Saw Two Mega Menus Today…

One was the footer of an (older) U.S. Government website. The other was the navigation for AWS services from the AWS Console.
Chris Coyier on Feb 2, 2021
Direct link to the article Parsing Markdown into an Automated Table of Contents
IntersectionObserver markdown navigation vue animations

Parsing Markdown into an Automated Table of Contents

A table of contents is a list of links that allows you to quickly jump to specific sections of content on the same page. It benefits long-form content because it shows the user a handy overview of what content there …

Lisi Linhart on Nov 13, 2020
Direct link to the article Menu Reveal By Page Rotate Animation
checkbox hack menu navigation

Menu Reveal By Page Rotate Animation

There are many different approaches to menus on websites. Some menus are persistent, always in view and display all the options. Other menus are hidden by design and need to be opened to view the options. And there are even …

Preethi on Sep 8, 2020
  • 1
  • 2
  • 3
  • Older

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