Float in css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Float in css

How I can put two float elements (images) up each other not side by side

23rd May 2020, 12:12 AM
Mina Mamdouh
Mina Mamdouh - avatar
2 Answers
23rd May 2020, 12:14 AM
Calviղ - avatar
+ 1
If you really need to use float - this way : https://code.sololearn.com/WnjW9syOUZ56/?ref=app But previous answer with flex much better. Flex has lot's of useful settings)
23rd May 2020, 1:23 AM
BALU - avatar