Hover

Syntax

Class
Properties
{...}hover:{...}
{...}:hover{...}
<button class="t1 px-16 py-4 color-white rounded-3 shadow-4 cursor-pointer select-none bg-c-blue hover:bg-c-blue-800 "> Buy item </button>

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Underline while hovered.
t1 hover:underline
.t1.hover\:underline:hover { text-decoration: underline; }