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

Czy :active funkcjonuje również na urządzeniach mobilnych?
TO
  • Rejestracja: dni
  • Ostatnio: dni
  • Postów: 72
0

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

Patryk27
  • Rejestracja: dni
  • Ostatnio: dni
  • Lokalizacja: Wrocław
  • Postów: 13042
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

Zarejestruj się i dołącz do największej społeczności programistów w Polsce.

Otrzymaj wsparcie, dziel się wiedzą i rozwijaj swoje umiejętności z najlepszymi.