Czy :active funkcjonuje również na urządzeniach mobilnych?

0

:active odpowiada za "aktywność" elementu, gdy się go kliknie na urządzeniu mobilnym?

1

Jak zawsze, pomaga dokumentacja:

The :active pseudo-class is defined to match an element while an element is being activated by the user.

To determine whether a particular element is being activated [...], use the first relevant entry in the following list.

[...]

  • If the element is being actively pointed at

[...]

An element is said to be being actively pointed at [...] (e.g. [...] while the finger is touching the display surface).

tl;dr tak

1 użytkowników online, w tym zalogowanych: 0, gości: 1