Hide scroll bars – 30 seconds of code


<div class="no-scrollbars">
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean interdum id leo a consectetur. Integer justo magna, ultricies vel enim vitae, egestas efficitur leo. Ut nulla orci, rutrum eu augue sed, tempus pellentesque quam.</p>
</div>

div 
  width: 200px;
  height: 100px;


.no-scrollbars 
  overflow: auto;
  scrollbar-width: none;


.no-scrollbars::-webkit-scrollbar 
  display: none;



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Article

Markdoc - Markdown-based authoring framework. — dailydevlinks

Next Article

The significant importance behind Ferrari's second filming day in Monza

Related Posts