:: - webkit-scrollbar-button with content
I tried to create a webkit scrollbar like Visual Studio.
Example:
My question is how can I set ::-webkit-scrollbar-button
as an example?
Here is my code:
::-webkit-scrollbar-button {
height: 10px;
content: "β²";
color: rgb(255, 255, 255);
background: rgb(255, 0, 0);
}
Can a property be used content: "";
to set a UTF character such as β² or βΌ? Why won't it appear?
Here is the Fiddle
+3
source to share