U
U
ubbe_lodbroke2020-05-08 08:09:04
css
ubbe_lodbroke, 2020-05-08 08:09:04

How to style a completely different element when clicking on one element using Sass?

How to style a completely different element when clicking on one element using Sass? Is it possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ma4t, 2020-05-08
@ubbe_lodbroke

Sass or Less doesn't matter here.
You need to use JS or Jquery
So that when you click on the desired element, a class is added to the element whose styles should change.
And the styles themselves are already prescribing for the class that will be added.
This is one of the options

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question