Basic Syntax of CSS - How to Code CSS
A CSS comprises of style rules that are interpreted by the browser and then applied to the corresponding elements in your document. A style rule is made of three parts: a selector, a property, and a value. CSS selectors are used to find HTML elements based on their element name as: id, class, attribute, and more.

The element Selector
You can select all <h1> elements on a page like this (all elements will be left-aligned, with a green text color).
Example:
h1 {
text-align: left;
color: green;
}
text-align: left;
color: green;
}
The id Selector
Example:
#unika {
height: 200px;
background-color: green;
font-size: 14px;
}
height: 200px;
background-color: green;
font-size: 14px;
}
The class Selector
Example:
.box1 {
height: 200px;
background-color: green;
font-size: 14px;
}
height: 200px;
background-color: green;
font-size: 14px;
}
Grouping Selectors
Example:
h1, h2, h3, h4 { color: blue }
OK, so you've now learned about the CSS style syntax, but how do you incorporate this syntax into your website? The next lesson will show you how to incorporate CSS into your HTML webpage.
Syntax of CSS, How to Code CSS, Basic CSS
Basic Syntax of CSS - How to Code CSS - css tutorial
Online Editor
This tool makes it easy to create, adjust, and experiment with custom colors for the web.
HTML Templates

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.
CSS HTML Layout

Find here examples of creative and unique website layouts.
Free CSS HTML Menu

Find here examples of creative and unique website CSS HTML menu.