D
D
Darya Shvakh2018-05-21 07:33:36
css
Darya Shvakh, 2018-05-21 07:33:36

Syntax - active?

Good afternoon!
Please tell me if the pseudo-class -active, can "work" with one dot in the "prefix" - . active , rather than with the classic colon - : active ?
More precisely, it definitely works, but without a space from the name of the element to which we add it?
And the element retains the properties assigned to it via . active (is it actually a class?) , even when "release - click" !
Question: Is this normal? and why?)
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2018-05-21
@rockon404

You apparently have the .active class defined in your code . It has nothing to do with the pseudo-class.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question