#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 over 2 years ago