Valid

Syntax

Class
Properties
{...}valid:{...}
{...}:valid{...}

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Set text color to green when valid.
t1 valid:color-hex-10B010
.t1.valid\:color-hex-10B010:valid { color: #10B010; }