Help me fix the issue of css flex | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

Help me fix the issue of css flex

Please help me how to center all elements perfectly in center https://code.sololearn.com/Wq91R2htSj4B/?ref=app

27th Sep 2020, 11:57 AM
Spacice
Spacice - avatar
2 Réponses
+ 2
since <ul> element has default margin and paddings it will mess with UI. I added *{ margin: 0; padding: 0; } to set default margins and padding to zero from all the tags. https://code.sololearn.com/WtZStbRSf8tU/?ref=app
27th Sep 2020, 11:59 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
Oh thanks for the help
27th Sep 2020, 1:07 PM
Spacice
Spacice - avatar