#changing element2 on hover of element1

21 messages · Page 1 of 1 (latest)

chilly bramble
#

it does seem to change #personal_instagram's colour, but idk how to make it so it changes #urgent_inquiries's

#

and it only changes very breifly, only for around half a second

heavy marten
#

It works the other way around, you can style child from parent

#

@chilly bramble

chilly bramble
#

ty i will take a look tomorrow

chilly bramble
#

it dosent work and i dont rlly understand

frozen spoke
#

@chilly bramble What do you want to do exactly?

#

Change the color of the my personal instagram to be pink when urgent inquiries is hovered?

chilly bramble
#

other way round

#

change urgent inquiries when the personal ig is hovered

#

i'm actually going to change the opacity but doing the colour now as a starting point

frozen spoke
#

@chilly bramble

Have to use pseudo-elements and specifically :has()

#urgent_inquiries:has(#personal_instagram:hover)

chilly bramble
#

thank youu

chilly bramble
#

without removing the a tag from my p

frozen spoke
#

color: rgba(255, 255, 255, 0.3);

#

@chilly bramble

#

Don't change the opacity