Update readme

This commit is contained in:
Nicolas Cusan
2021-09-06 16:17:09 +02:00
committed by Nicolas Cusan
parent d02cf323e8
commit 067c52cdaa

View File

@@ -22,11 +22,8 @@ Opinionated [reset stylesheet](https://cssreset.com/what-is-a-css-reset/) that p
$ npm install --save destyle.css
```
Download: https://raw.githubusercontent.com/nicolas-cusan/destyle.css/master/destyle.css
## Browser support
Support modern browsers only (bye bye IE).
- Download: https://raw.githubusercontent.com/nicolas-cusan/destyle.css/master/destyle.css
- CDN: https://classic.yarnpkg.com/en/package/destyle.css
## Usage
@@ -79,8 +76,7 @@ If you need to create styles for tags generated by a CMS or markdown wrap them i
## Caveats
- `select` elements are not completely destyled by `appearance: none` (varies depending on the browser). You can find a good guide for custom styling `select`s [here](https://www.filamentgroup.com/lab/select-css.html).
- `range`, `color` are affected by `appearance: none` but are not completely destyled (varies depending on the browser).
- `range` & `color` inputs are affected by `appearance: none` but are not completely destyled (varies depending on the browser).
- `button` elements that have a fixed `height` will center its content vertically (can not be reset).
## Examples