-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,24 @@ | ||
<style> | ||
.scrollbar { | ||
display: block; | ||
width: 10em; | ||
width: 100px; | ||
overflow: auto; | ||
height: 2em; | ||
height: 100px; | ||
} | ||
|
||
/* Demonstrate a "mostly customized" scrollbar | ||
* (won't be visible otherwise if width/height is specified) */ | ||
.scrollbar::-webkit-scrollbar { | ||
width: 5px; | ||
height: 8px; | ||
background-color: #aaa; /* or add it to the track */ | ||
background-color: #aaa; | ||
} | ||
|
||
/* Add a thumb */ | ||
.scrollbar::-webkit-scrollbar-thumb { | ||
background: #000; | ||
} | ||
</style> | ||
|
||
<template> | ||
<div id="root" class="scrollbar"> | ||
Thisisaveeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeerylongword<br /> | ||
And pretty tall<br /> | ||
thing with weird scrollbars.<br /> | ||
Who thought scrollbars could be made weird? | ||
<div style="width: 200px; height: 400px;"></div> | ||
</div> | ||
</template> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
ed2efea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
modern-screenshot – ./
modern-screenshot.vercel.app
modern-screenshot-qq15725.vercel.app
modern-screenshot-git-main-qq15725.vercel.app