Avoid long lists of features in the documentation

This commit is contained in:
fedeTibaldo 2018-02-16 15:08:38 +01:00
parent 2e4e4a79e2
commit eec03465f4
2 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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