Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

DAY 3- CSS

DEV Community·vidhya murali·19 days ago
#CUBsZo5Y
#webdev#ai#programming#css#declaration#style
Reading 0:00
15s threshold

vidhya murali

What is CSS?

  • CSS is the language we use to style a Web page.
  • CSS stands for Cascading Style Sheets
  • CSS describes how HTML elements are to be displayed on screen, paper, or in other media
  • CSS saves a lot of work. It can control the layout of multiple web pages all at once
  • External stylesheets are stored in CSS files

CSS Syntax :

  • A CSS rule consists of a selector and a declaration block:
  • The selector points to the HTML element you want to style.
  • The declaration block contains one or more declarations separated by semicolons.
  • Each declaration includes a CSS property name and a value, separated by a colon.
  • Multiple CSS declarations are separated with semicolons, and declaration blocks are surrounded by curly braces.
Read More