Back to All Challenges
beginner+10 Points

Perfect Centering with Flexbox

Center an element horizontally and vertically inside a parent container using CSS Flexbox.

Instructions:

Complete the `.container` class to perfectly center the `.box` inside it.

Code Solution:
CSS Editor11 lines