1
Using the menu below, it is possible to make it slider as in mobile phones (without having to use the scroll bar, just by clicking and dragging)?
ul.marcadores {white-space:nowrap; overflow-x:auto; background-color:#2D2D2D; width:300px}
ul.marcadores li {display:inline-block; float:none; margin:10px; padding:4px}
ul.marcadores li:hover {border-bottom:1px solid #FFFFFF; padding-bottom:1px}
ul.marcadores a {color:#FFFFFF; font-size:12px; font-family:Open Sans; text-transform:uppercase; font-weight:bold; text-decoration:none}
<ul class='marcadores'>
<li><a href='#'>Link 0</a></li>
<li><a href='#'>Link 1</a></li>
<li><a href='#'>Link 2</a></li>
<li><a href='#'>Link 3</a></li>
<li><a href='#'>Link 4</a></li>
<li><a href='#'>Link 5</a></li>
</ul>
It worked, @Pedro Junior! I was just wondering how to block the movement on the Y axis, but otherwise, it’s what I needed! Thank you! I will continue in the material research here!
– winiercape
So, you can do like I did in the example, in the divPai you arrow a height, and in the son the same height, in your case create a div father, and the tag ul will be the daughter, and you can put the option containment: 'Parent', what will make daughter move inside the father
– Pedro Junior