-
Step 1
Find the place in your code to enter your CSS command. CSS is a language that can be added to your page in modules and even kept in a separate file from your HTML code. Many designers recommend that most of your CSS code be kept separate in a specific file ending in ".css" that all of your web pages will reference for style patterns. But, you can also add css code into the headings of your pages. Either way, be sure you know where your CSS code will be stored.
-
Step 2
Add your selector, and then a bracket to separate the selector from the rest of the command. The bracket should be the same kind featured in Visual Basic code, "{." The selector is the item you are defining style for. For example: h1 for a headline.
-
Step 3
Enter your property, and then a colon.
-
Step 4
Enter your value.
-
Step 5
Close the command with a matching bracket. Your code should look like this: selector "{property: value}" for example: "h1 {color: red}".






