CSS Introduction

CSS

Next →

Cascading Style Sheets (CSS) is used to style the pages of websites. It is free and open source like HTML and everyone can use it to style their websites.

Requirement

In order to learn we will need the following tools.

  • Text editor or IDE (Integrated development environment)
  • Web browser

Text Editor: You can use any one of the following text editor. SublimeText, Notepad++, Atom, Brackets, Coda, TextMate, etc.

IDE: There are IDEs available for HTML coding and one of them is NetBeans.

Web Browser: You can use Chrome, Firefox, Safari and other web browsers for testing the web pages you create.

Online editor

You can use the online HTML Editor of this website for HTML/CSS coding. HTML Editor

How to create a CSS file

Open your favourite text editor and create a new file and save it as style.css or any other file name that ends with css.

Sample CSS


body {
	margin : 0;
	padding : 0;
}
Next →