CSS, Which stands for Cascading Style Sheets is a programming language that is used to decorate websites into great looking web pages. Without CSS, a website will closely resemble a word document written in Microsoft word.
In What Areas is CSS in?
Since CSS is a rule based language, rules are defined by specifying groups of styles that will be applied to a particular element or group elements.As an example, the following code shows the child element of (h2), in this case (p) has it's elements styled to the color red and font-size modified to 5em.
h2 > p {
color: red;
font-size: 5em;
}
Broadly speaking, CSS is used in a variety of things within a website.
- CSS can be used to change color.
- CSS can also be used to change size of elements with a webpage.
- CSS is used in Box Model.
- CSS is also used to make some basic animations and also complex animations.
What Reset CSS?
Reset CSS is as the name sounds resetting CSS so that all browsers are consistent to one another. Since there are different types of browsers, of which are built differently to one another. When Rest CSS is applied, things like hienghtg, margins and font sizes of headings and so on are consistent on all browsers. Some thing to know is... There isn't any default color or background set for the body element. Meaning, the reset syele