CSS Syntax
CSS is the Beauty of Website. Starting css with basic syntax. In css '{}' and ';' is the create a css body part. '{}' is used to create a body part of selector and ';' is the css terminator. here is the example which is describe how to write css basic syntax.
selector {
property: value;
}
Here is the example of CSS Syntax
p{color: red; font-size: 20px; background-color: lightblue;}
Here is the another way to write css. Both are same but this is the more human readable.
p{
color: red;
font-size: 20px;
background-color: lightblue;
}