Skip to content

Commit e91b5db

Browse files
author
jessicarush
committed
Add: all: unset
1 parent 2c447ec commit e91b5db

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

css_misc_notes.md

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
}
2828
```
2929

30+
> The all shorthand CSS property resets all of an element's properties except unicode-bidi, direction, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another cascade layer or stylesheet origin.
31+
32+
```css
33+
button {
34+
all: unset;
35+
}
36+
```
37+
3038
## scrollbar-color
3139

3240
The `scrollbar-color` property controls the two colors of a scrollbar: the thumb and the track color. The track refers to the background of the scrollbar, which is generally fixed regardless of the scrolling position. The thumb refers to the moving part of the scrollbar, which floats on top of the track. See [MDN scrollbar-color](https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color) for additional information.

0 commit comments

Comments
 (0)