CSS

CSS Cheat Sheet

CSS Cheat Sheet

CSS stands for Cascading Style Sheets. It illustrates how HTML elements of a website should be displayed. In simple words, CSS is responsible for the look of a website. From the font size to the background image of your website – everything can be changed with CSS.

CSS syntax is pretty easy to learn. It consists of selector and declaration blocks. For example, to change font size of our h1 tag (heading) we can use:

h1 {font-size: 20px;}
  • h1 – Is a selector. In our case we select h1 heading.
  • font-size – Is a declaration. It contains property (font-size) and it’s value (20px).

However, CSS has so many selectors and declarations that it can be overwhelming for novice web developers to remember them all. That’s why we decided to put together a complete CSS Cheat Sheet (CSS3 included).

In this CSS cheat sheet you will find 13 pages of CSS declarations along with possible properties. Cheat sheet is nicely structured and divided into sections for easy read.

CSS Cheat Sheet Table of ContentsCSS 3 CheatsheetCSS 3 Cheatsheet Page 4CSS 3 Cheatsheet Page 5 CSS 3 Cheatsheet Page 6CSS 3 Cheatsheet Page 7CSS 3 Cheatsheet Page 8CSS 3 Cheatsheet Page 9CSS 3 Cheatsheet Page 10CSS 3 Cheatsheet Page 11CSS 3 Cheatsheet Page 12CSS 3 Cheatsheet Page 13

About the author

Domantas G.

Domantas leads the content and SEO teams forward with fresh ideas and out of the box approaches. Armed with extensive SEO and marketing knowledge, he aims to spread the word of Hostinger to every corner of the world. During his free time, Domantas likes to hone his web development skills and travel to exotic places.

2 Comments

Click here to post a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

[href]
[href]
More in CSS
How to Create a Simple CSS Dropdown Menu
How to Create a Simple CSS Dropdown Menu

Close