Avoid long lists of features in the documentation
This commit is contained in:
parent
2e4e4a79e2
commit
eec03465f4
2 changed files with 4 additions and 4 deletions
|
|
@ -9,8 +9,8 @@
|
|||
$extraVariants = collect([
|
||||
'responsive',
|
||||
'hover',
|
||||
'active',
|
||||
'focus',
|
||||
'active',
|
||||
'group-hover',
|
||||
])->diff($variants)
|
||||
->take(3 - count($variants))
|
||||
|
|
@ -28,7 +28,7 @@
|
|||
@component('_partials.customized-config', ['key' => 'modules'])
|
||||
// ...
|
||||
- {{ $utility['property'] }}: [{{$currentVariants}}],
|
||||
+ {{ $utility['property'] }}: ['responsive', 'hover', 'active', 'focus'],
|
||||
+ {{ $utility['property'] }}: ['responsive', 'hover', 'focus'],
|
||||
@endcomponent
|
||||
|
||||
@isset($extraMessage)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
extends: _layouts.documentation
|
||||
title: "State Variants"
|
||||
description: "Using utilities to style elements on hover, active, focus, and more."
|
||||
description: "Using utilities to style elements on hover, focus, and more."
|
||||
---
|
||||
|
||||
Similar to our [responsive prefixes](/docs/responsive-design), Tailwind makes it easy to style elements on hover, active, focus, and more using *state* prefixes.
|
||||
Similar to our [responsive prefixes](/docs/responsive-design), Tailwind makes it easy to style elements on hover, focus, and more using *state* prefixes.
|
||||
|
||||
## Hover
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue