
CSS (Cascading Style Sheet) is an art folder where we can put our design requirements, either changing a text color or a background color of the Webpage. This is a vast style sheet where you can change a Basic Webpage into a Professional one. This style sheet is usually used with HTML. We can do a lot of designing with it if we know how to use the tools.
CSS can make your website look better day by day. Every website contains a lot of CSS in it. However, a simple page like the Google Home Page has a lot of Cascading Style Sheet involved. This is not just used to give the colors or change the alignment, but we can make animated objects by using CSS.
It has its own syntax and way of being written. We can use tags that are defined in HTML, or we can define the classes or IDs between the tags. The <Style>tag is used for CSS coding if we want to code it in the HTML file. Otherwise, we can create a file with the extension .css and continue.
Under the style tag or in the Cascading Style Sheet file, a class is denoted with “.” e.g. .home(class) and ID is denoted with “#” e.g. #btn(ID).
CSS Syntax
<style>
.home{
background-color: red;
font-family: Roboto;
text-align: right;
}
</style>