Latest solutions
Latest comments
- @aayusranjanSubmitted about 3 years ago@KirstChatPosted about 3 years ago
Nice work!
If you want to center a div, I would look into flexbox rather than using absolute positioning for elements. This is a pretty good guide: https://css-tricks.com/snippets/css/a-guide-to-flexbox/#flexbox-background - you can also find lots of tutorials on YouTube!
You would need to wrap your three divs in a container. You could use another div as the container but I would suggest looking into semantic HTML elements and using either section or main. Hope that helps :)
Marked as helpful1