Skip to content

Commit 3629212

Browse files
committed
Add evergreen variations
1 parent 7739286 commit 3629212

3 files changed

Lines changed: 497 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ documented.
1313
<link href="https://unpkg.com/sanitize.css" rel="stylesheet" />
1414
```
1515

16+
Or to exclusively support evergreen browsers.
17+
18+
```html
19+
<link href="https://unpkg.com/sanitize.css/evergreen.css" rel="stylesheet" />
20+
```
21+
1622
[Learn more about `sanitize.css`](#features).
1723

1824
#### Forms CSS
@@ -23,6 +29,12 @@ A separate stylesheet that normalizes form controls without side effects.
2329
<link href="https://unpkg.com/sanitize.css/forms.css" rel="stylesheet" />
2430
```
2531

32+
Or to exclusively support evergreen browsers.
33+
34+
```html
35+
<link href="https://unpkg.com/sanitize.css/forms.evergreen.css" rel="stylesheet" />
36+
```
37+
2638
[Learn more about `forms.css`](#forms).
2739

2840
#### Assets CSS
@@ -304,6 +316,12 @@ button, input, select, textarea {
304316
letter-spacing: inherit;
305317
padding: 0.25em 0.375em;
306318
}
319+
320+
[type="color"],
321+
[type="range"] {
322+
border-width: 0;
323+
padding: 0;
324+
}
307325
```
308326

309327
##### Expandable select controls appear visually consistent

0 commit comments

Comments
 (0)