Skip to content

Commit c2fddc4

Browse files
committed
Use all: initial
1 parent eb1bb56 commit c2fddc4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,12 @@ Make a top level element behave like it's not there.
200200

201201
## Remove button styles
202202

203-
Works in all modern browsers.
203+
Works with other (ui) elements and in all modern browsers.
204204

205205
```css
206-
.some-button {
207-
padding: 0;
208-
border: none;
209-
background: transparent;
206+
button.my-style {
207+
all: initial;
208+
/* my styles… */
210209
}
211210
```
212211

0 commit comments

Comments
 (0)