Developer
Intros
How it works
API reference
Turbo CSS
Fundamentals
Utilities
Selectors
Child
Next sibling
After sibling
Descendant
Self
Viewport width
Device type
Hoverable
Empty
Not empty
Even
Odd
First
Not first
Last
Not last
Hover
Focus
Active
Visited
Valid
Invalid
Enabled
Disabled
Checked
Unchecked
Mode
Placeholder
Selection
Before
After
Thumb
Tags
Download
Turbo UI
Turbo Playground
License
Blog
Developer
Intros
How it works
API reference
Turbo CSS
Blog
Fundamentals
Utilities
Selectors
Download
Turbo UI
Turbo Playground
License
Combinators
Child
Next sibling
After sibling
Descendant
Self
Viewport
Viewport width
Device
Device type
Hoverable
DOM Structure
Empty
Not empty
Even
Odd
First
Not first
Last
Not last
Interaction
Hover
Focus
Active
Visited
State
Valid
Invalid
Enabled
Disabled
Checked
Unchecked
Mode
Pseudo elements
Placeholder
Selection
Before
After
Thumb
Tags
Tags
Disabled
Syntax
Class
Properties
{...}
disabled:
{...}
{...}
:disabled
{...}
Specification test cases
The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Set opacity to 50% when disabled.
t1 disabled:opacity-50
.t1.disabled\:opacity-50:disabled { opacity: 0.5; }