Clean up snippets

This commit is contained in:
Angelos Chalaris
2019-08-22 14:46:27 +03:00
parent a8818b1998
commit f56f631894
38 changed files with 211 additions and 348 deletions

View File

@ -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.