Need help on this the first video container is on top the red container and I need it to have space inbtw | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Need help on this the first video container is on top the red container and I need it to have space inbtw

Help https://code.sololearn.com/WeRuisE0O89V/?ref=app

8th Oct 2021, 5:25 PM
D Doyen
D Doyen - avatar
4 Answers
0
There are several ways like adding margin, positioning element or using flex box.
8th Oct 2021, 5:52 PM
zexu knub
zexu knub - avatar
0
Try and help me fix it
9th Oct 2021, 5:48 AM
D Doyen
D Doyen - avatar
0
I am not sure what you asking, you already have space between red and blue box. I place comment on part of code what make this space and changed indentation of html. Try to indent your code better. Also you are using position relative for this, but this is not its purpose in website, only if you try to learn it. This pisition is great to make some custom icons or draw. And absolute is used to make modals, like whan you click login/register, you got modal on middle or screen, for example. https://code.sololearn.com/WoQMTMv0VgkK/?ref=app
9th Oct 2021, 9:37 AM
PanicS
PanicS - avatar
0
Thanks
9th Oct 2021, 10:42 AM
D Doyen
D Doyen - avatar