Duolith docs

Errors E0200 to E0299

E0200 Hover style with no touch look

Message class never applies on iOS or Android

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

A hover: utility applies while a pointer rests on the element. Phones and tablets have no pointer that hovers, so a native build would show nothing in its place. An element that also has a pressed: utility says what a finger shows, and then hover: stays for the web without a word (decision 0049). Utilities set by a class: directive (class:hover:bg-raised=selected) count as the element's own.

How to fix it

Give the element a pressed: utility too, such as hover:bg-raised pressed:bg-raised.

In a terminal

duolith explain E0200

Mentioned in