.about {
word-break: break-all;
width: 100%;
font-size: 18px;
overflow-y: auto;
max-height: 160px;
}
.custom-scroll-style::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
.custom-scroll-style::-webkit-scrollbar {
width: 10px;
background-color: #F5F5F5;
}
.custom-scroll-style::-webkit-scrollbar-thumb {
background-color: #ff253f;
border: 2px solid #fff;
}
<div class="custom-scroll-style about">
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
</div>
I want to use pure css scrollbar in Mozilla and chrome but here is some issue with Mozilla. this is only work on chrome. How to resolve this problem?