1 |
|
---|---|
Posted by | Help with Scroll boxes |
β½ Rein βΎ (#391697) Toxic View Forum Posts Posted on 2023-04-16 15:58:46 |
I cant seem to figure out the code to make a scroll box. i've tried using the overflow function but its not working? can anyone help? 0 players like this post! Like? |
Hok-Z | Hiatus (#170947)
View Forum Posts Posted on 2023-04-29 14:05:23 |
Here's the code for Scroll boxes! /*-------------------------*/ /*Scrollbars*/ /*-------------------------*/ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: #5f0707; } ::-webkit-scrollbar-thumb { background: #f64747; border: 1px solid black; border-radius: 5px; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you want to change specific Scrollbars, add the attribute to the beginning, like this: #commentBox::-webkit-scrollbar { width: 10px; height: 10px; } #commentBox::-webkit-scrollbar-track { background: #2c345a; } #commentBox::-webkit-scrollbar-thumb { background: #c7c8f6; border: 1px solid black; border-radius: 5px; } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EDIT: I saw you may've figured it out, but I'll leave this here for anyone else :) 1 player likes this post! Like? Edited on 29/04/23 @ 14:10:08 by Hok-Z| πΌπππ πππ (#170947) |
1 |
---|