Home
CSS
CSS Backgrounds
Tryit: Background color for different elements
Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Save Code
Ctrl+Alt+A
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
CSS background-color example!
This is a text inside a div element.
This paragraph has its own background color.
We are still in the div element.