+ 2

Why do the divs change size?

I have an issue, for some reason the divs keep changing width. I made a horizontal slider, but all the cards keep getting thin. How do I make them all the same size? https://code.sololearn.com/Ww8H101JAztc/?ref=app

21st Jul 2020, 8:35 AM
Clueless Coder
Clueless Coder - avatar
2 Antworten
+ 3
I guess you can use div{min-width:a big enough value;} ...
21st Jul 2020, 8:42 AM
Nor'wester 🌪️ 🇧🇩 (INACTIVE)
Nor'wester 🌪️ 🇧🇩 (INACTIVE) - avatar
+ 1
🇧🇩🇳‌🇴‌🇷‌'🇼‌🇪‌🇸‌🇹‌🇪‌🇷‌ 🤦‍♂️. I didn't know it was that easy! Thanks so much for the help!
21st Jul 2020, 8:45 AM
Clueless Coder
Clueless Coder - avatar