CSS Part 1
CSS Part 1
AND TECHNOLOGIES
HTML, CSS
& JAVASCRIPT
CASCADING
STYLE SHEETS
(CSS)
TOPIC CONTENTS: CSS
• D e fi n i t i o n
• CSS Syntax
• CSS Selectors
• Setting up CSS in
HTML Documents
• CSS3
TOPIC CONTENTS: CSS
• Re s p o n s i v e We b
Design
• F l e x b ox
• Grid Layout
• Media Queries
• B re a k p o i n t s
• CSS Library
WHAT IS CSS?
CSS or Cascading Style Sheets is a
style sheet language used for
specifying the presentation and
styling of a document written in a
markup language such as HTML or
XML. CSS is a cornerstone
technology of the World Wide Web,
alongside HTML and JavaScript.
WHAT IS CSS?
CSS or Cascading Style Sheets is a
style sheet language used for
specifying the presentation and
styling of a document written in a
markup language such as HTML or
XML. CSS is a cornerstone
technology of the World Wide Web,
alongside HTML and JavaScript.
WHAT IS CSS?
Example Explained
Output:
PSEUDO-CLASS
https://www.w3schools.com/css/css_pseudo_classes.asp
SETTING UP CSS IN
HTML DOCUMENTS
CSS can be added to HTML
documents in 3 ways:
Here is what the Tip: With an external style sheet, you can
"styles.css" file looks like: change the look of an entire web site, by
changing one file!
More on:
https://www.w3schools.com/html/html_css.asp
CSS3