Introduction to CSS Part I
This task isn't obligatory to complete the course!
You can write the code in the
styles.cssfile of the following sandbox. To see the rendered page, drag it from the right edge of a sandbox window.
- Change the font to:
Arialfor the heading;
sans-seriffor the paragraph.
- Change the color of a text to:
#ff8a00for the heading;
- white for the paragraph.
- Change the size of a font to:
36pxfor the heading;
16pxfor the paragraph.
- Add padding and margin to the heading and paragraph:
20pxmargin to all sides for the heading;
20pxmargin to all sides of the paragraph.
- Set the background color of the body to
Here is the result you should get. If you are having problems, you can drag the code part with a solution from the left edge of the sandbox window.