[Solved] How can i make elements to scroll horizontally? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 21

[Solved] How can i make elements to scroll horizontally?

I have this i want to make it scroll horizontally https://code.sololearn.com/WDg9X5bkqquZ/?ref=app

2nd Mar 2020, 11:14 AM
Aakaanksha 💕 [TheBraveCoders]
Aakaanksha 💕 [TheBraveCoders] - avatar
9 Answers
2nd Mar 2020, 11:22 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 17
Thank you so much Coder bhaiya 🤗🤗
5th Mar 2020, 3:13 AM
Aakaanksha 💕 [TheBraveCoders]
Aakaanksha 💕 [TheBraveCoders] - avatar
+ 12
Sumit Programmer😎😎 Thank you so much it did 🤗🤗
2nd Mar 2020, 11:29 AM
Aakaanksha 💕 [TheBraveCoders]
Aakaanksha 💕 [TheBraveCoders] - avatar
+ 7
Coder thanks bro 😊😀
4th Mar 2020, 5:54 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 5
Aakaanksha💕 welcome 😊😀
2nd Mar 2020, 11:35 AM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 4
You can give the desired element width and overflow-x: auto, when the browser's width is less than the element's width, it will scroll horizontally
3rd Mar 2020, 5:50 PM
Davit Arakelyan
Davit Arakelyan - avatar
+ 4
Thank you so much
4th Mar 2020, 3:13 PM
Agboola Stephen Praise
Agboola Stephen Praise - avatar
+ 1
You can apply it as well asking more code more fatigues
6th Mar 2020, 9:18 AM
STLOUIS Rickenson
STLOUIS Rickenson - avatar
0
To make horizontal scroll you should declare element's display property "block" and set overflow-x property "scroll". that's it
4th Jun 2020, 5:56 PM
shyam verma
shyam verma - avatar