CSS3
Exercise 15 / 15
Flexbox - Centering
Medium
20 points
Center the blue div horizontally and vertically in its container using Flexbox.
Flexbox is a modern CSS layout system that facilitates alignment and space distribution. display: flex activates Flexbox, justify-content centers horizontally, and align-items centers vertically. This is the modern method for centering elements.
Well done! 🎉
Your answer is correct! You earned 20 points.
Not quite...
Try again! You can do it.
Your code
CSS3
Result