Skip to content

CSS - Cascading Style Sheets

Overview

Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in HTML or XML (including XML dialects such as SVG, MathML or XHTML). CSS describes how elements should be rendered on screen, on paper, in speech, or on other media.

CSS is among the core languages of the open web and is standardized across Web browsers according to W3C specifications. Previously, the development of various parts of CSS specification was done synchronously, which allowed the versioning of the latest recommendations. You might have heard about CSS1, CSS2.1, or even CSS3. There will never be a CSS3 or a CSS4; rather, everything is now CSS without a version number.

CSS - Reading Topics

Adding CSS to HTML

Sr No.TopicsReference
1What is CSS?
2What are different methods to apply CSS?
3Which one is best practice to use?

Selectors

Sr No.TopicsReference
1What are selector and its types?

CSS Box Model

Sr No.TopicsReference
1What is Box model?
2List all properties of box model
3What is margin collapsing?

Positioning

Sr No.TopicsReference
1Static
2Relative
3Absolute
4Fixed
5Sticky

Float

Sr No.TopicsReference
1What Is A CSS Float Property?
2SPECIFICS ON FLOATED ELEMENTS
3Clearing Floats

Box-sizing

Sr No.TopicsReference
1Box Model History
2Present-Day box-sizing

Display

Sr No.TopicsReference
1Inline
2Block
3Inline-Block
4Flex

Animation

Sr No.TopicsReference
1Animation properties
2Transitions and transform

Understanding CSS inheritance

Sr No.TopicsReference
1How is CSS Inheritance Useful?
2Forcing Inheritance

Introduction to CSS sprite and Web Safe Fonts

Sr No.TopicsReference
1What are CSS Sprites?
2Why use CSS Sprites?
3How do you use CSS Sprites?
4Web Safe fonts

Responsiveness

Sr No.TopicsReference
1Types of layouts
2Creating fluid layouts
3Media queries
4Hamburger icon
5Responsive navigation menu
6Video and background image responsive