An open API service indexing awesome lists of open source software.

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)

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