CSS not working on sublime text!

CSS not working on sublime text!


Hi I’m currently having problems making CSS work in Sublime Text. So far HTML works but not the CSS. Here is the code that i’ve inputted:

First Web Page body{ background: f4f4f4; }

The Best Web Page!

Hello this is the first line

What exactly is it that’s going wrong? Would be great if anyone could help. Cheers!


If you are using hexcodes for color, it should start with a # symbol,

The background color property should look like this,

background: #f4f4f4;

Note: background is a short hand property