Careeroza
JobsMentorship

basic

CSS Introduction
What is CSS?
CSS Syntax
Adding CSS
Comments
Selectors
Basic Selectors
Combinators
Pseudo-classes
Pseudo-elements
Attribute Selectors
Colors & Backgrounds
Colors
Backgrounds
Gradients
Box Model
The Box Model
Margins & Padding
Borders
Sizing & box-sizing
Text & Fonts
Text
Fonts
Web Fonts
Display & Positioning
display
position
z-index
overflow
float

medium

Flexbox
Flex Container
Flex Items
Common Flex Layouts
Grid
Grid Container
Placing Items & Areas
Responsive Grids
Responsive Design
CSS Units
Media Queries
Mobile-First
Cascade & Specificity
Cascade & Inheritance
Specificity
!important
Styling Components
Buttons
Forms
Tables
Lists

advance

Transitions & Animations
Transitions
Transforms
Keyframe Animations
CSS Variables
Custom Properties
Theming & Dark Mode
Modern CSS
Math Functions
:is(), :where() and :has()
Container Queries
CSS Nesting
Architecture & Performance
Naming with BEM
Organizing CSS
CSS Performance

interview questions

Questions
Basic Interview Questions
Intermediate Interview Questions
Advanced Interview Questions

Comments

CSS Comments

Example

Comments start with /* and end with */. They can span lines and are ignored by the browser:

<!DOCTYPE html>
<html>
<head>
  <title>Page Title</title>
  <style>
    /* This is a single-line comment */
    p {
      color: red; /* Set text color to red */
    }
    /* This is
       a multi-line
       comment */
  </style>
</head>
<body>

<p>Hello World!</p>

</body>
</html>

Result

Note: CSS has no // line comments; they break the following rule.