2
I’m doing a little test with the scrollbar of Chrome Canary 74 on Android.
I read a lot about it, but I didn’t get results for the mobile device, and since I don’t have a pc, I use Web Aide to program.
In my project, there are only two files, one css and the other html.
It looks like h spam, but it’s not:
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="user-scalable=no,width=device-width">
<link href="css/styles.css" rel="stylesheet">
</head>
<body>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
h<br>
</body>
</html>
CSS:
::-webkit-scrollbar {
-webkit-appearance: none;
}
::-webkit-scrollbar:vertical {
width: 12px;
}
::-webkit-scrollbar:horizontal {
height: 12px;
}
::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, .5);
border-radius: 10px;
border: 2px solid #f00;
}
::-webkit-scrollbar-track {
border-radius: 10px;
background-color: #000;
}
body {
margin: 0;
padding: 0;
border: 0;
position: relative;
width:100%;
}
html,body {
overflow-x: scroll;
overflow-y: scroll;
}
When I give a RUN on the project, it is basically this way:
[Beginning]
[End]
Face your doubt is not very clear, your problem is this horizontal scroll that should not appear the bar since it is a letter below the other? What’s really your problem?
– hugocsl
No, it should appear, but it falls below the letters.
– EduApps