0
need help (css)
how do i center 3 divs above each other. in the middle of the page. the complete middle
6 Answers
- 1
i fixed it. im a pro now and better than everyone .
+ 3
div { align:center; }
+ 1
its pretty easy once you learn the flex property in CSS, search for css flexbox in youtube
+ 1
You can also use absolute or flex property
In positioning it helps
0
Share your attempt. Then we can help you better.
0
Since theyre all block elements they all will take up the whole width of the page.
Use css:
div{
margin: 0 auto;
}
You can also use flexbox or grid but the code above will also take care of it.