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.

Galactic Energy

6.2.21

RevenueCat

5.28.21

Wayflyer

5.28.21

ShapeShift

5.26.21

Corebook°

5.25.21

Alex Fisher Design

5.24.21

Base Camp

5.21.21

Mike L. Murphy

5.14.21

JW.S®

5.13.21

Sam George

5.13.21

Material Symbols and Icons - Google Fonts

$99/yr
5.12.21

Mailook

5.10.21

Climate History

5.10.21

Ramp

5.7.21

Durden Pecan

5.7.21

Figure

5.6.21

Really Good Email

5.4.21

Moment

5.3.21

VOUS Church

4.29.21

Inline Merge and Nest Collection Lists

4.29.21

Fern

4.28.21

Tines

4.28.21

BODYGYM

4.28.21

adammade

4.28.21

Prism Data

4.27.21

Aalto

4.27.21

Mighty

4.27.21

Fullwell Leadership

4.22.21

Drink Opus

4.22.21

Deel

4.21.21

Tyler Galpin

4.20.21

Hiro

4.20.21

Peachy Pay

4.20.21

Stacks

4.20.21

Feels

4.16.21

Fiverr Events Hub

4.15.21

Pico

4.14.21

Belpearl Jewelry Collection

4.14.21

Formstack

4.13.21

Rattle

4.13.21

Peek

4.12.21

Russian Pantheon

4.10.21

Flowrite

4.9.21

How Many Plants

4.8.21

Primer

4.8.21

Attentive

4.8.21

Studio Sentempo

4.7.21

Tom Seymour

4.7.21

3Box Labs

4.6.21

Studio Sowieso

4.5.21

Multi-line Truncate

4.4.21
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.