I have the following markup:
<div>
<a>..</a>
<i>..</i>
<a>..</a>
<i>..</i>
<a>..</a>
<i>..</i>
</div>
Which just shows all the elements horizontally inline on desktops and other screens which are wide enough to hold the content. However when it comes to mobile, the elements wrap across two lines. Is it possible to keep everything on one line and have it be horizontally scrollable?
I've tried:
div {
overflow-x: scroll;
overflow-y: hidden;
}
But that doesn't seem to do anything.