Effect All Siblings on Hover With CSS

Effect All Siblings on Hover With CSS

Some simple CSS to highlight a hovered item in a list by altering the style of all other items that aren’t being hovered. This specific example shows how hovering any child will set all other children to 10% opacity.

Industries

Creators

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
8.30.22

Similar items

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Snapshift

2.5.24

Teardowns.ai

2.5.24

Impulse Cooktop

2.2.24

Martin Stoleru

2.2.24

Studio Essence

2.2.24

Junior Films

2.1.24

SPCSHP

2.1.24

Venwise

2.1.24

Unbench

1.31.24

Intro to Web Design

1.30.24

Diana's Seafood

1.30.24

Josh Jacobs

1.30.24

Relume

1.30.24

Capsule

1.30.24

That Thing

1.28.24

Cue

1.28.24

Aaron Poe & Co

1.28.24

Veed

1.28.24

Letterly App

1.28.24

ART+TECH Report

1.26.24

Hello Robo

1.26.24

Supershine

1.26.24

Multi App

1.26.24

Smootify

1.25.24

Robin AI

1.25.24

Jeffrey Martin

1.25.24

Holland

1.25.24

Love The Work More

1.25.24

HTML <dialog> Modal

1.22.24

The New Dialog HTML Element Changes Modals Forever

1.21.24

Neither/Nor

1.19.24

Framer: 2023 Year in Review

1.18.24

Mindbloom

1.17.24

E&W Design Studio

1.17.24

Dauw

1.17.24

Hydra

1.17.24

Resliders

1.17.24

Museum Studio

1.17.24

Caserne

1.17.24

Baked Graphics

1.17.24

Darina CG Artist

1.16.24

Custom Tag Form Spam Prevention

1.15.24

Produlis

1.15.24

TinySync - Airtable → Webflow CMS Sync Via CLI

1.15.24

Toggle Dark Mode with CSS :has()

1.14.24

QCRN Studio

1.12.24

Dann Petty

1.11.24

CMAND_

1.11.24

Due

1.11.24

Alice AI Assistant

1.11.24

Cache

1.10.24
Load more

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.