Placeholder

Syntax

Class
Properties
{...}placeholder:{...}
{...}::placeholder{...}
<input class="t1 px-8 h-32 b-1-gray-300 rounded-3 placeholder:color-red" placeholder="Placeholder text">

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Set the placeholder color to be a light shade of gray.
t1 placeholder:color-hex-C0C0C0
.t1.placeholder\:color-hex-C0C0C0::placeholder { color: #C0C0C0; }