All Challenges
#07
Margin Auto Centering
EasyCategory: Box Model
Horizontally center the fixed-width .container by setting horizontal margin to auto.
Target HTML in preview:
<div class="container">Centered Container</div>
Verification Criteria:
Set margin to auto or margin-left & margin-right auto
styles.css
Live EvaluationLoading...
|
Live Browser Output
Sandboxed Preview