Frontend
Floating bottom scrollbar
Needle scripts
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/handy-scroll/dist/handy-scroll.css">
<script src="https://cdn.jsdelivr.net/npm/handy-scroll/dist/handy-scroll.min.js"></script>
if (handyScroll.mounted(".private-table-wrap"))
{
handyScroll.update(".private-table-wrap");
}
else
{
handyScroll.mount(".private-table-wrap")
}
Custom styling for scrollbar
/* Works on Firefox */
* {
scrollbar-color: ghostwhite gray;
}
/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 12px;
}
*::-webkit-scrollbar-track {
background: gray;
}
*::-webkit-scrollbar-thumb {
background-color: ghostwhite;
border-radius: 10px;
border: 3px solid gray;
}
Афоризм дня:
Люди верят больше глазам, чем ушам. (568)
Leave a reply