Skip to content

Latest commit

 

History

History

css-basic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

CSS Basic

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.

Module 1: Introduction

In this module CSS is used to style and lay out web pages — for example, to alter the font, colour, size and spacing of your content, split it into multiple columns, or add animations and other decorative features. This module gets you started on the path to css.

  • Benefits of CSS
  • CSS Versions History
  • CSS Syntax
  • CSS Structure
  • Types of CSS

Module 2: Selectors

In this module, CSS selectors define the elements to which a set of CSS rules apply. In this module, you will find how many selectors are there how to use it.

Module 3: Background & Cursor

In this module, CSS Backgrounds and Borders is a module of CSS that lets you style elements backgrounds and borders. Backgrounds can be filled with a color or image, clipped or resized, and otherwise modified. Borders can be decorated with lines or images, and made square or rounded.

Module 4: Text Fonts

In this module, CSS Fonts that defines font-related properties and how font resources are loaded. It lets you define the style of a font, such as its family, size and weight, line height, and the glyph variants to use when multiple are available for a single character.

Module 5: Lists

In this module, lists table that defines how to lay out table data.

Module 6: Box Model

In this module, CSS box model that defines the rectangular boxes including their padding and margin. They are generated for elements and laid out according to the visual formatting model.

Module 7: Display & Positioning

In this module, the position CSS property specifies how an element is positioned in a document. The top, right, bottom, and left properties determine the final location of positioned elements.

Module 8: CSS Floats

In this module, the float CSS property specifies that an element should be placed along the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the normal flow of the web page, though remaining a part of the flow (in contrast to absolute positioning).

Module 9: CSS Classes & Elements

In this module, CSS pseudo-element is a keyword added to a selector that lets you style a specific part of the selected element(s). A Pseudo class in CSS is used to define the special state of an element. It can be combined with a CSS selector to add an effect to existing elements based on their states.

Module 10: CSS Specificity

In this module, CSS Specificity is the set of the rules applied to CSS selectors in order to determine which style is applied to an element. The more specific a CSS style is, the higher point value it accrues, and the likelier it is to be present on the element's style.