#main-container class
Defines the background area that surrounds the main container.
The following illustrations show:Ā
-
The #main-containerĀ style before applying CSS changes.
-
The #main-containerĀ style after the background-colorĀ property has been changed to green.
Default CSS | Modified CSS |
---|---|
![]() ![]() #main-container { display: flex; align-items: center; justify-content: center; padding-top: 25px; padding-bottom: 25px; } | ![]() ![]() #main-container { display: flex; align-items: center; justify-content: center; padding-top: 25px; padding-bottom: 25px; background-color: green; } |
Updated 2 months ago
Did this page help you?