<!DOCTYPE html>
<html>
<head>
<title>My Example</title>
<!-- CSS -->
<style>
/* Force scrollbars onto browser window */
body {
margin-bottom: 200%;
}
/* Box styles */
.myBox {
border: none;
padding: 5px;
font: 24px/36px sans-serif;
width: 300px;
height: 300px;
overflow: scroll;
}
/* Scrollbar styles */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
box-shadow: inset 0 0 10px #fbceb1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: #317873;
box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:hover {
background: #80755a;
}
</style>
</head>
<body>
<!-- HTML -->
<div class="myBox">
AQUI EL TEXTO</div>
</body>
</html>
No comments:
Post a Comment