Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- @font-face {
- src: url(https://dl.dropbox.com/s/1479f8x52y3z5u4/rainyhearts.ttf);
- font-family: hearts;
- }
- @font-face {
- src: url(https://dl.dropbox.com/s/flezd2lq8mbnwhk/Stabillo%20Medium.ttf);
- font-family: stabillo medium;
- }
- #scroll {
- box-sizing: border-box;
- white-space: nowrap;
- font: 12px system-ui;
- overflow: auto;
- padding: 7px;
- height: 15em;
- width: 15em;
- border-radius: 6px;
- border: 1px solid #888;
- }
- .con {
- height: 95%;
- width: 95%;
- white-space: normal;
- display: inline-block;
- padding: .2em;
- vertical-align: middle;
- overflow: auto;
- border-radius: 6px;
- border: 1px solid #888;
- }
- .con:nth-child(2) {
- margin: 0 5px 0 5px;
- }
- ::-webkit-scrollbar {
- width: 14px
- }
- ::-webkit-scrollbar:horizontal {
- height: 14px
- }
- ::-webkit-scrollbar-corner {
- background: #eee
- }
- ::-webkit-scrollbar-track:vertical {
- background: linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
- border-radius: 5px;
- }
- ::-webkit-scrollbar-track:horizontal {
- background: linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
- border-radius: 5px;
- }
- ::-webkit-scrollbar-thumb {
- border: 1.5px solid #888;
- border-radius: 5px;
- box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
- }
- ::-webkit-scrollbar-thumb:vertical {
- background: linear-gradient(90deg, #eee 45%, #ddd 0, #bbb);
- }
- ::-webkit-scrollbar-thumb:horizontal {
- background: linear-gradient(180deg, #eee 45%, #ddd 0, #bbb);
- }
- ::-webkit-scrollbar-button:horizontal:end:increment,
- ::-webkit-scrollbar-button:horizontal:start:decrement,
- ::-webkit-scrollbar-button:vertical:end:increment,
- ::-webkit-scrollbar-button:vertical:start:decrement {
- display: block
- }
- ::-webkit-scrollbar-button:vertical {
- height: 15px
- }
- ::-webkit-scrollbar-button:vertical:start:decrement {
- background: white;
- background: url("https://dl.dropbox.com/s/n9ji42h9hdgdtpc/scroll3.png"), #eee;
- background-repeat: no-repeat;
- background-position: center;
- -moz-background-size: 100% auto, cover;
- -webkit-background-size: 100% auto, cover;
- -o-background-size: 100% auto, cover;
- background-size: 100% auto, cover;
- border: 1.5px solid #888;
- border-radius: 5px;
- }
- ::-webkit-scrollbar-button:vertical:start:increment {
- display: none;
- }
- ::-webkit-scrollbar-button:vertical:end:decrement {
- display: none;
- }
- ::-webkit-scrollbar-button:vertical:end:increment {
- background: white;
- background: url("https://dl.dropbox.com/s/cdcco6pih7n1lae/scroll4.png"), #eee;
- background-repeat: no-repeat;
- background-position: center;
- -moz-background-size: 100% auto, cover;
- -webkit-background-size: 100% auto, cover;
- -o-background-size: 100% auto, cover;
- background-size: 100% auto, cover;
- border: 1.5px solid #888;
- border-radius: 5px;
- }
- ::-webkit-scrollbar-button:horizontal {
- width: 14px
- }
- ::-webkit-scrollbar-button:horizontal:start:increment {
- display: none;
- }
- ::-webkit-scrollbar-button:horizontal:end:decrement {
- display: none;
- }
- ::-webkit-scrollbar-button:horizontal:start:decrement {
- background: white;
- background: url("https://dl.dropbox.com/s/xcm618ghd823271/scroll5.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
- background-repeat: no-repeat;
- background-position: center;
- -moz-background-size: 100% auto, cover;
- -webkit-background-size: 100% auto, cover;
- -o-background-size: 100% auto, cover;
- background-size: 100% auto, cover;
- background-position: center;
- border-radius: 5px;
- border: 1.5px solid #888;
- }
- ::-webkit-scrollbar-button:horizontal:end:increment {
- background: white;
- background: url("https://dl.dropbox.com/s/byeyi7am889ii9m/scroll6.png"), linear-gradient(180deg, #e5e5e5, #f0f0f0 20%);
- background-repeat: no-repeat;
- background-position: center;
- -moz-background-size: 100% auto, cover;
- -webkit-background-size: 100% auto, cover;
- -o-background-size: 100% auto, cover;
- background-size: 100% auto, cover;
- background-position: center;
- border-radius: 5px;
- border: 1.5px solid #888;
- }
- @keyframes floating {
- 0% { transform: translate(0, 0px); }
- 50% { transform: translate(0, 15px); }
- 100% { transform: translate(0, -0px); }
- }
- </style>
Advertisement
Add Comment
Please, Sign In to add comment