Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update preflight.mdx #1551

Merged
merged 1 commit into from Mar 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/pages/docs/preflight.mdx
Expand Up @@ -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:
Expand Down