https://github.com/ninest/postcss-outline-ring
Add outline rings (not borders)
https://github.com/ninest/postcss-outline-ring
Last synced: 2 months ago
JSON representation
Add outline rings (not borders)
- Host: GitHub
- URL: https://github.com/ninest/postcss-outline-ring
- Owner: ninest
- Created: 2021-01-06T00:51:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T00:52:05.000Z (over 5 years ago)
- Last Synced: 2025-02-25T02:17:18.670Z (over 1 year ago)
- Language: JavaScript
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Outline Ring
> Add an outline ring that's separate from `border`. Made to be used with `:focus`
## Docs
```css
.sel:hover {
outline-ring: 5px blue;
}
```
This results in
```css
.sel:hover {
outline: none;
box-shadow: 0 0 0 5px blue;
}
```
## Build setup
Clone or fork the repository,
```bash
yarn
```
Make changes, then run tests
```bash
yarn test
```
# License
MIT