Clean up snippets
This commit is contained in:
@ -5,8 +5,6 @@ tags: visual,intermediate
|
||||
|
||||
Customizes the scrollbar style for the document and elements with scrollable overflow, on WebKit platforms.
|
||||
|
||||
|
||||
|
||||
```html
|
||||
<div class="custom-scrollbar">
|
||||
<p>
|
||||
@ -18,8 +16,6 @@ Customizes the scrollbar style for the document and elements with scrollable ove
|
||||
</div>
|
||||
```
|
||||
|
||||
|
||||
|
||||
```css
|
||||
.custom-scrollbar {
|
||||
height: 70px;
|
||||
@ -43,8 +39,6 @@ Customizes the scrollbar style for the document and elements with scrollable ove
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Explanation
|
||||
|
||||
1. `::-webkit-scrollbar` targets the whole scrollbar element.
|
||||
|
||||
Reference in New Issue
Block a user