image

What is CSS?

CSS (Cascading Style Sheet) is an art folder where we can put our design requirements, either changing a a text color or a background color of the Webpage. CSS is a vast style sheet where you can change a Basic Webpage into a Professional. This style sheet is usually used with HTML. We can do alot of designing with it if we know using it and the tools in CSS.

CSS can make your website look better day-by-day. Every website contains a lot of CSS in it. However, a simple page like Google Home Page has alot of CSS involved. CSS is not just used to give the colors or change the alignment, but we can make animated objects by using CSS.

CSS has its own syntax and a way to be written. We can use tags those are defined in HTML, or we can define the classes or IDs between the tag. <Style>tag is used for CSS coding if we want to code it in the HTML file. Else, we can create a file with the extension of .css and continue.

Under the style tag or in CSS 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>


For your further reading:

Leave a Reply

Your email address will not be published. Required fields are marked *

8 − 4 =