CSS Complete Course

Module 1 : Introduction To CSS

CSS stands for Cascading Style Sheets. It is used to style and design HTML webpages.

Topics Covered

  • What is CSS
  • Types of CSS
  • CSS Syntax
  • Inline CSS
  • Internal & External CSS
h1{
   color:red;
}

Module 2 : CSS Selectors

CSS selectors are used to target HTML elements for styling.

Selectors

  • Element Selector
  • Class Selector
  • ID Selector
  • Universal Selector
  • Group Selector
p{
   color:blue;
}

.box{
   background:black;
}

#title{
   font-size:40px;
}

Module 3 : Colors & Backgrounds

CSS provides multiple properties to apply colors and backgrounds to webpages.

Topics Covered

  • Text Colors
  • Background Colors
  • Background Images
  • Gradients
  • Opacity
body{
   background:#f1f1f1;
}

.box{
   background-image:url(bg.jpg);
}

Module 4 : CSS Box Model

The CSS box model includes margin, border, padding, and content area.

Topics Covered

  • Margin
  • Padding
  • Border
  • Width & Height
  • Border Radius
.box{
   width:300px;
   padding:20px;
   border:2px solid black;
   margin:20px;
}

Module 5 : Flexbox & Grid

Flexbox and Grid are modern CSS layout systems used to create responsive website layouts.

Topics Covered

  • Display Flex
  • Flex Direction
  • Justify Content
  • CSS Grid
  • Grid Columns
.container{
   display:flex;
   justify-content:center;
}

Module 6 : Responsive Design

Responsive design helps webpages adjust according to screen size and devices.

Topics Covered

  • Media Queries
  • Mobile Design
  • Responsive Layout
  • Viewport
  • Responsive Images
@media(max-width:768px){

   .container{
      flex-direction:column;
   }

}