Syntax of CSS3

As in previous tutorial you have introduced to CSS3 cource.Basically css is used for styling of html document to make document more and more attractive for users.In this cource you will learn basics as will as advance css by practicing examples quizzes and source codes.

Have a look of basic example of CSS3.



  h1 {
    color: Black;
    }

  nav{
    color: white;
    float: right;
    }

  h3 {
    font-family: calbiri;
    font-size: 16px;
    }

Here h1 is selector (We will learn about selector in page selector in css3) . While curly braces are necessary due to rule of css. color is the property in css and green is value in css. nav is selector and h3 is also a selector.

You will learn more about selectors in next chapter.

Here is another example of css3 basics.

div {
font-size: 20px;
font-family: New Roman;
background-color:white;
}

Here div is selector (We will learn about selector in page selector in css3) . While curly braces are necessary due to rule of css. font-size,font-family and background-color are the properties in css3 and 20px,New Roman and white are the values in css.







The Best

Comment here

If you have any query, if you want to know something about any of technical course related to computer science field, if you have any suggestion about relevant to uploaded content or if you anything wrong here (any mistake in content) than please contact us. Keep in mind, comment should be according to community guidelines.


ads