From be3029ddef370ad2831fc29c3e399b85e8d64db9 Mon Sep 17 00:00:00 2001 From: Shindeok Kang Date: Fri, 17 Mar 2023 18:47:22 +0900 Subject: [PATCH] Remove outdated focus style description from preflight page (#1551) This PR removes the description about the outdated focus style that was removed in PR #4780. --- src/pages/docs/preflight.mdx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/pages/docs/preflight.mdx b/src/pages/docs/preflight.mdx index ca57817d2..86f75bbdf 100644 --- a/src/pages/docs/preflight.mdx +++ b/src/pages/docs/preflight.mdx @@ -196,21 +196,6 @@ When you run into situations like this, you can work around them by overriding t --- -## Buttons have a default outline - -To ensure that we provide accessible styles out of the box, we made sure -that buttons have a default outline. You can of course override this by -applying `focus:ring` or similar utilities to your buttons. - -```css -button:focus { - outline: 1px dotted; - outline: 5px auto -webkit-focus-ring-color; -} -``` - ---- - ## Extending Preflight If you'd like to add your own base styles on top of Preflight, simply add them to your CSS using the `@layer base` directive: