introduction of CSS

 overview of CSS language.

CSS:- cascading style sheets, is a fundamentals technology used for styling & formating web pages. It allows web developers to control the layout design & appearance of HTML elements.


In css some properties/using methods

1.selectors :-

  1.  selectors are used to target HTML elements that you want to style.
  2. examples of selectors include element selectors ('p', 'h1' , 'div'), class selectors('.my-class') , ID selectors('#my-id'), attribute selectors('[type="text"]') and more.

2.properties :-

  1. CSS properties define the visual style or behaviour of the selected elements 
  2. examples of properties include 'color' , 'font-size' , 'background-color' , 'margin' , 'padding' , 'border' , 'display' , and many more

3.values :- 

  1. values are assigned to CSS properties to define the specific settings for those properties.
    2. values can be keywords, such as 'red' , 'bold' , 'block', or numerical values like '12px' , '2em' , etc.


history of CSS..

in 1994 Hakon wium lie & bert bos proposed the concept of css as a separate style language for the web. They published the first official  css specification css in december 1996 css allowed web designers to separate the presentation of web pages from their underlying structre.


Comments

Popular Posts