I need your help :) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

I need your help :)

( sorry for my english ) Imagine I want to make a webpage header, i wont that takes all the width, but I cant it when itā€™s a Ā«Ā background-color:; Ā» and I do Ā«Ā margin:-8px;Ā Ā» like in this code : https://code.sololearn.com/WWXaD4i3Slo8/?ref=app And the other problem is that I donā€™t know to put 2 elements on only one Line If you could help me, thanks <3

1st Dec 2020, 6:22 PM
byww
byww - avatar
2 Respostas
+ 1
Second answer: display: inline / inline-block or display: flex; (parent) flex-direction: row; (children)
2nd Dec 2020, 12:48 AM
Julinator
Julinator - avatar
0
Do you know about display property of CSS??
2nd Dec 2020, 12:03 AM
Lucas Nova
Lucas Nova - avatar