Loading

Introduction to CSS

  • CSS stands for Cascading Style Sheet.
  • It is a Stylesheet language.
  • It is used for giving styling to our basic HTML code like their fonts, colors, background, spacing etc.
  • CSS is optional but it converts an off-looking HTML page into a beautiful & responsive website.

Installing VS code

  • Microsoft Visual Studio Code will be a great tool for writing your HTML and CSS code.
  • We will use Microsoft Visual Studio Code as a tool to edit our as it is very powerful, free and customizable
  • For the further installation process just search VS code on your browser i.e. https://code.visualstudio.com/Download and follow the installation steps.

Why Learn CSS?

  •  CSS is a Very demanded skill in the world of development. If you are successfully able to master CSS, you can customize your websites to your liking.
  • It will make the user experience far better by making the website design more appealing.
  • It will help the website in SEO(Search Engine Optimization).
  • It will make the web pages more flexible and reusable.
  • It will fasten the loading speed of websites.

Example:

Create your  ·css file inside your directory and add it to your HTML. Add the following line to your CSS.

Syntax:

body {
 background-color: red;
}

Output:

This will make your page background red.