SlideShare a Scribd company logo
1 of 12
CSS3
Cascading StyleSheets
Before we begin...
● Everyone’s CSS is different
● We will try to cover as much as possible
● Download the source code
What is CSS?
● Cascading StyleSheets
● NOT a Programming Language
● Stylesheet/Styling Language
● Used for Website Layout and Design
● Can be extended with SASS/LESS
What we need to start
A Web Browser(Pick One)
● Google Chrome
● Mozilla Firefox
● Safari
● Microsoft Edge
● IE (Please Don’t)
A Text Editor(Pick One)
● Sublime Text
● Atom.io
● Visual Studio Code
● Notepad++ (Windows)
● Text Mate (Mac)
3 methods for adding CSS
Inline CSS: Directly in the HTML element ( NO! )
Internal CSS: Use <style> tags within a single document
External CSS: Linking an external CSS
CSS Selectors
a { background-color : yellow ; }
selector
property-name
value
declaration start property/value
separator
declaration end
Colors in CSS
● Color Names
● HTML5 color names
● Hexadecimal
● RGB
body{
color: red;
background: coral;
}
h1{
color: #00ff00;
}
p{
rgb(0,0,255);
}
Web Safe Fonts
font-family Arial, Helvetica, sans-serif
font-family "Arial Black", Gadget, sans-serif
font-family "Bookman Old Style", serif
font-family "Comic Sans MS", cursive, sans-serif
font-family Courier, monospace
font-family "Courier New", Courier, monospace
font-family Garamond, serif
font-family Georgia, serif
font-family Impact, Charcoal, sans-serif
font-family "Lucida Console", Monaco, monospace
font-family "Lucida Sans Unicode", "Lucida Grande", sans-
serif
font-family "MS Sans Serif", Geneva, sans-serif
font-family "MS Serif", "New York", sans-serif
font-family "Palatino Linotype", "Book Antiqua",
Palatino, serif
font-family Symbol, sans-serif
font-family Tahoma, Geneva, sans-serif
font-family "Times New Roman", Times, serif
font-family "Trebuchet MS", Helvetica, sans-serif
font-family Verdana, Geneva, sans-serif
font-family Webdings, sans-serif
font-family Wingdings, "Zapf Dingbats", sans-serif
Unit Types
● Pixels (px) : Unit that represents pixels on a device
● Point (pt) : Used in print media in which 72 points equals 1 inch
● Ems (em) : An em is equal to the current font size
● Percent (%) : The current font size is equal to 100%
Block Elements
● p
● h1, h2, h3, h4, h5, h6
● ol, ul
● pre
● address
● blockquote
● dl
● div
● fieldset
● form
● hr
● noscript
● table
Inline Elements
● b, big, i, small, tt
● abbr, acronym, cite, code, dfn, em, kbd, strong, samp, var
● a, bdo, br, img, map, object, q, script, span, sub, sup
● button, input, label, select, textarea
Box Model

More Related Content

What's hot

What's hot (13)

[Worskhop Summits] CSS3 Workshop
[Worskhop Summits] CSS3 Workshop[Worskhop Summits] CSS3 Workshop
[Worskhop Summits] CSS3 Workshop
 
Intro to SASS CSS
Intro to SASS CSSIntro to SASS CSS
Intro to SASS CSS
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 
Css3
Css3Css3
Css3
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSS
 
Web programming css
Web programming cssWeb programming css
Web programming css
 
INFO3775 Chapter 2 Part 2
INFO3775 Chapter 2 Part 2INFO3775 Chapter 2 Part 2
INFO3775 Chapter 2 Part 2
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Css3 Presetation
Css3 PresetationCss3 Presetation
Css3 Presetation
 
Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02Cascading Style Sheets - Part 02
Cascading Style Sheets - Part 02
 
CSS introduction
CSS introductionCSS introduction
CSS introduction
 
CSS3 Introduction
CSS3 IntroductionCSS3 Introduction
CSS3 Introduction
 
Css1
Css1Css1
Css1
 

Similar to CSS - Cascading Style Sheets

Design Concepts and Web Design
Design Concepts and Web DesignDesign Concepts and Web Design
Design Concepts and Web DesignMindy McAdams
 
HTML5, CSS, JavaScript Style guide and coding conventions
HTML5, CSS, JavaScript Style guide and coding conventionsHTML5, CSS, JavaScript Style guide and coding conventions
HTML5, CSS, JavaScript Style guide and coding conventionsKnoldus Inc.
 
Pemrograman Web 3 - CSS Basic Part 2
Pemrograman Web 3 - CSS Basic Part 2Pemrograman Web 3 - CSS Basic Part 2
Pemrograman Web 3 - CSS Basic Part 2Nur Fadli Utomo
 
Design for developers (april 25, 2017)
Design for developers (april 25, 2017)Design for developers (april 25, 2017)
Design for developers (april 25, 2017)Thinkful
 
ATO- Intro to Web Concepts
ATO- Intro to Web ConceptsATO- Intro to Web Concepts
ATO- Intro to Web ConceptsMarjorie Sample
 
SIGNWRITING SYMPOSIUM PRESENTATION 43: The SignWriting Stack 2015 by Stephen ...
SIGNWRITING SYMPOSIUM PRESENTATION 43: The SignWriting Stack 2015 by Stephen ...SIGNWRITING SYMPOSIUM PRESENTATION 43: The SignWriting Stack 2015 by Stephen ...
SIGNWRITING SYMPOSIUM PRESENTATION 43: The SignWriting Stack 2015 by Stephen ...SignWriting For Sign Languages
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSSLarry King
 
Great typography == Great Design - Part 2
Great typography == Great Design - Part 2Great typography == Great Design - Part 2
Great typography == Great Design - Part 2Aashish Solanki
 
Css preprocessor-140606115334-phpapp01
Css preprocessor-140606115334-phpapp01Css preprocessor-140606115334-phpapp01
Css preprocessor-140606115334-phpapp01Anam Hossain
 
CSS preprocessor: why and how
CSS preprocessor: why and howCSS preprocessor: why and how
CSS preprocessor: why and howmirahman
 
Typography On The Web
Typography On The WebTypography On The Web
Typography On The WebJustin Seiter
 
Web Engineering
Web Engineering  Web Engineering
Web Engineering Al Mamun
 
Responsive Web Design & Typography
Responsive Web Design & TypographyResponsive Web Design & Typography
Responsive Web Design & TypographyDanny Calders
 

Similar to CSS - Cascading Style Sheets (20)

Web Typography
Web TypographyWeb Typography
Web Typography
 
Design Concepts and Web Design
Design Concepts and Web DesignDesign Concepts and Web Design
Design Concepts and Web Design
 
HTML5, CSS, JavaScript Style guide and coding conventions
HTML5, CSS, JavaScript Style guide and coding conventionsHTML5, CSS, JavaScript Style guide and coding conventions
HTML5, CSS, JavaScript Style guide and coding conventions
 
Pemrograman Web 3 - CSS Basic Part 2
Pemrograman Web 3 - CSS Basic Part 2Pemrograman Web 3 - CSS Basic Part 2
Pemrograman Web 3 - CSS Basic Part 2
 
Rakshat bhati
Rakshat bhatiRakshat bhati
Rakshat bhati
 
Design for developers (april 25, 2017)
Design for developers (april 25, 2017)Design for developers (april 25, 2017)
Design for developers (april 25, 2017)
 
WEB and FONTS
WEB and FONTSWEB and FONTS
WEB and FONTS
 
SignWriting Stack 2015
SignWriting Stack 2015SignWriting Stack 2015
SignWriting Stack 2015
 
Css3 101
Css3 101Css3 101
Css3 101
 
Sass compass
Sass compassSass compass
Sass compass
 
ATO- Intro to Web Concepts
ATO- Intro to Web ConceptsATO- Intro to Web Concepts
ATO- Intro to Web Concepts
 
SIGNWRITING SYMPOSIUM PRESENTATION 43: The SignWriting Stack 2015 by Stephen ...
SIGNWRITING SYMPOSIUM PRESENTATION 43: The SignWriting Stack 2015 by Stephen ...SIGNWRITING SYMPOSIUM PRESENTATION 43: The SignWriting Stack 2015 by Stephen ...
SIGNWRITING SYMPOSIUM PRESENTATION 43: The SignWriting Stack 2015 by Stephen ...
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Great typography == Great Design - Part 2
Great typography == Great Design - Part 2Great typography == Great Design - Part 2
Great typography == Great Design - Part 2
 
Css preprocessor-140606115334-phpapp01
Css preprocessor-140606115334-phpapp01Css preprocessor-140606115334-phpapp01
Css preprocessor-140606115334-phpapp01
 
CSS preprocessor: why and how
CSS preprocessor: why and howCSS preprocessor: why and how
CSS preprocessor: why and how
 
Typography On The Web
Typography On The WebTypography On The Web
Typography On The Web
 
Web Engineering
Web Engineering  Web Engineering
Web Engineering
 
Responsive Web Design & Typography
Responsive Web Design & TypographyResponsive Web Design & Typography
Responsive Web Design & Typography
 
Code igniter
Code igniterCode igniter
Code igniter
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 

CSS - Cascading Style Sheets

  • 2. Before we begin... ● Everyone’s CSS is different ● We will try to cover as much as possible ● Download the source code
  • 3. What is CSS? ● Cascading StyleSheets ● NOT a Programming Language ● Stylesheet/Styling Language ● Used for Website Layout and Design ● Can be extended with SASS/LESS
  • 4. What we need to start A Web Browser(Pick One) ● Google Chrome ● Mozilla Firefox ● Safari ● Microsoft Edge ● IE (Please Don’t) A Text Editor(Pick One) ● Sublime Text ● Atom.io ● Visual Studio Code ● Notepad++ (Windows) ● Text Mate (Mac)
  • 5. 3 methods for adding CSS Inline CSS: Directly in the HTML element ( NO! ) Internal CSS: Use <style> tags within a single document External CSS: Linking an external CSS
  • 6. CSS Selectors a { background-color : yellow ; } selector property-name value declaration start property/value separator declaration end
  • 7. Colors in CSS ● Color Names ● HTML5 color names ● Hexadecimal ● RGB body{ color: red; background: coral; } h1{ color: #00ff00; } p{ rgb(0,0,255); }
  • 8. Web Safe Fonts font-family Arial, Helvetica, sans-serif font-family "Arial Black", Gadget, sans-serif font-family "Bookman Old Style", serif font-family "Comic Sans MS", cursive, sans-serif font-family Courier, monospace font-family "Courier New", Courier, monospace font-family Garamond, serif font-family Georgia, serif font-family Impact, Charcoal, sans-serif font-family "Lucida Console", Monaco, monospace font-family "Lucida Sans Unicode", "Lucida Grande", sans- serif font-family "MS Sans Serif", Geneva, sans-serif font-family "MS Serif", "New York", sans-serif font-family "Palatino Linotype", "Book Antiqua", Palatino, serif font-family Symbol, sans-serif font-family Tahoma, Geneva, sans-serif font-family "Times New Roman", Times, serif font-family "Trebuchet MS", Helvetica, sans-serif font-family Verdana, Geneva, sans-serif font-family Webdings, sans-serif font-family Wingdings, "Zapf Dingbats", sans-serif
  • 9. Unit Types ● Pixels (px) : Unit that represents pixels on a device ● Point (pt) : Used in print media in which 72 points equals 1 inch ● Ems (em) : An em is equal to the current font size ● Percent (%) : The current font size is equal to 100%
  • 10. Block Elements ● p ● h1, h2, h3, h4, h5, h6 ● ol, ul ● pre ● address ● blockquote ● dl ● div ● fieldset ● form ● hr ● noscript ● table
  • 11. Inline Elements ● b, big, i, small, tt ● abbr, acronym, cite, code, dfn, em, kbd, strong, samp, var ● a, bdo, br, img, map, object, q, script, span, sub, sup ● button, input, label, select, textarea