SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
CSS YES! (Even for beginners)




            {CSS}
●   Wordpress sites consist of several
                 parts
●   The Content!
       –   1. HTML – HyperText Markup Language
       –   2. PHP – PHP Hypertext Processor (AKA: Personal
           Home Page)

●   The Presentation!
       –   3. CSS – Cascading Style Sheets (and some behavior)
       –   4. JavaScript, jQuery, Ajax etc
What's so great about it?
●   CSS lets you style a lot of content with very little
    work.
●   You can make your website look exactly how
    you want it.
●   You cannot “break” anything!
    ●   Unlike PHP, you can't make your page explode
    ●   You won't lose content by CSS errors
    ●   You can only make it look like geocities
Right tools for the job
●   A text editor (Sublime Text 2, Notepad ++)
    ●   DO NOT USE MS WORD!
●   A modern browser Chrome or Firefox (with
    Firebug)
    ●   DO NOT USE INTERNET EXPLORER (ever!).
●   Highly recommended: A local install of your
    website (outside the scope of this course)
●   Also “Custom CSS CC” plugin
Wordpress Fresh Install (with
     dummy content)
Wordpress Naked (without CSS)
HTML Mark up
How markup works
●   <div class=”main”>
●   <h1 class=”cssyes_header”>CSS YES!</h1>
●   <h1 class=”tagline”>YESSSSS</h1>
●   <span class=”author”>by Steve</span>
●   </div>
Specificity
●   The Golden rule of CSS: The higher the
    specificity, the more likely the style will go
    through.
CSS Syntax
H1 {
color: red;
}
H1.tagline {
color: blue;
}
Specificity
●   The element: p, div, ul, ol, span,
    ●   (0, 0, 1)
●   Class: p class=”something” // p.something {}
    ●   (0,1,0)
●   ID: div id=”yolo” // div#yolo {}
Let's do some CSS
Where else to learn
●   Treehouse: http://referrals.trhou.se/stevesux
●   Css-tricks.com
●   W3schools.com
●   nettuts

Mais conteúdo relacionado

Mais procurados

Web programming css
Web programming cssWeb programming css
Web programming css
Uma mohan
 
[Audiobook] HTML, CSS and JavaScript All in One, Sams Teach Yourself: Coverin...
[Audiobook] HTML, CSS and JavaScript All in One, Sams Teach Yourself: Coverin...[Audiobook] HTML, CSS and JavaScript All in One, Sams Teach Yourself: Coverin...
[Audiobook] HTML, CSS and JavaScript All in One, Sams Teach Yourself: Coverin...
kubw3rt34
 
快速开发Css
快速开发Css快速开发Css
快速开发Css
tbmallf2e
 
Web Building Blocks
Web Building BlocksWeb Building Blocks
Web Building Blocks
joegilbert
 
Css,javascript,php,mysql
Css,javascript,php,mysqlCss,javascript,php,mysql
Css,javascript,php,mysql
vurimi prasad
 

Mais procurados (20)

The Dark Arts of CSS
The Dark Arts of CSSThe Dark Arts of CSS
The Dark Arts of CSS
 
Web programming css
Web programming cssWeb programming css
Web programming css
 
The web context
The web contextThe web context
The web context
 
Untitleddocument (1)
Untitleddocument (1)Untitleddocument (1)
Untitleddocument (1)
 
Css1
Css1Css1
Css1
 
[Audiobook] HTML, CSS and JavaScript All in One, Sams Teach Yourself: Coverin...
[Audiobook] HTML, CSS and JavaScript All in One, Sams Teach Yourself: Coverin...[Audiobook] HTML, CSS and JavaScript All in One, Sams Teach Yourself: Coverin...
[Audiobook] HTML, CSS and JavaScript All in One, Sams Teach Yourself: Coverin...
 
Intro to front end development Basic
Intro to front end development BasicIntro to front end development Basic
Intro to front end development Basic
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Rakshat bhati
Rakshat bhatiRakshat bhati
Rakshat bhati
 
What's a web page made of?
What's a web page made of?What's a web page made of?
What's a web page made of?
 
快速开发Css
快速开发Css快速开发Css
快速开发Css
 
Langkah Menjadi Seorang Front-end Web Developer - Dimas Maulana Dwi Saputra
Langkah Menjadi Seorang Front-end Web Developer - Dimas Maulana Dwi SaputraLangkah Menjadi Seorang Front-end Web Developer - Dimas Maulana Dwi Saputra
Langkah Menjadi Seorang Front-end Web Developer - Dimas Maulana Dwi Saputra
 
Web Standards and Accessibility
Web Standards and AccessibilityWeb Standards and Accessibility
Web Standards and Accessibility
 
S1 Web Development
S1 Web DevelopmentS1 Web Development
S1 Web Development
 
Introduction to Jquery
Introduction to JqueryIntroduction to Jquery
Introduction to Jquery
 
Web Building Blocks
Web Building BlocksWeb Building Blocks
Web Building Blocks
 
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScriptDYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
 
Day6
Day6Day6
Day6
 
Bootstrap Workout 2015
Bootstrap Workout 2015Bootstrap Workout 2015
Bootstrap Workout 2015
 
Css,javascript,php,mysql
Css,javascript,php,mysqlCss,javascript,php,mysql
Css,javascript,php,mysql
 

Destaque

Your Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckYour Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages Suck
Anthony Montalbano
 
Write your first WordPress plugin
Write your first WordPress pluginWrite your first WordPress plugin
Write your first WordPress plugin
Anthony Montalbano
 
Verbs Wth Graphics. Span Ii. Show
Verbs Wth Graphics. Span Ii. ShowVerbs Wth Graphics. Span Ii. Show
Verbs Wth Graphics. Span Ii. Show
Emilio Pascal
 
The dominican republic presentation jan 2014 eng
The dominican republic presentation jan 2014 eng The dominican republic presentation jan 2014 eng
The dominican republic presentation jan 2014 eng
Guillermo vanderLinde
 
Police Force Scandal
Police Force ScandalPolice Force Scandal
Police Force Scandal
jessiepnut
 
Verbs W/out translations
Verbs W/out translationsVerbs W/out translations
Verbs W/out translations
Emilio Pascal
 
The Dominican Republic GCI sept 2013 español
The Dominican Republic GCI sept 2013  españolThe Dominican Republic GCI sept 2013  español
The Dominican Republic GCI sept 2013 español
Guillermo vanderLinde
 
V E R B S With G R A P H I C S
V E R B S With  G R A P H I C SV E R B S With  G R A P H I C S
V E R B S With G R A P H I C S
Emilio Pascal
 
W H O Medical Schools
W H O Medical SchoolsW H O Medical Schools
W H O Medical Schools
guest60fe22
 
History Of Atomic Structure
History Of Atomic StructureHistory Of Atomic Structure
History Of Atomic Structure
guest5c8bc1
 

Destaque (18)

Things to think about when starting a startup
Things to think about when starting a startupThings to think about when starting a startup
Things to think about when starting a startup
 
The wp config.php
The wp config.phpThe wp config.php
The wp config.php
 
Your Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckYour Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages Suck
 
Write your first WordPress plugin
Write your first WordPress pluginWrite your first WordPress plugin
Write your first WordPress plugin
 
How to Execute your Idea
How to Execute your IdeaHow to Execute your Idea
How to Execute your Idea
 
Getting Acclimated to WordPress
Getting Acclimated to WordPressGetting Acclimated to WordPress
Getting Acclimated to WordPress
 
Verbs Wth Graphics. Span Ii. Show
Verbs Wth Graphics. Span Ii. ShowVerbs Wth Graphics. Span Ii. Show
Verbs Wth Graphics. Span Ii. Show
 
The dominican republic presentation jan 2014 eng
The dominican republic presentation jan 2014 eng The dominican republic presentation jan 2014 eng
The dominican republic presentation jan 2014 eng
 
The Power of WordPress Plugins
The Power of WordPress PluginsThe Power of WordPress Plugins
The Power of WordPress Plugins
 
Police Force Scandal
Police Force ScandalPolice Force Scandal
Police Force Scandal
 
Verbs W/out translations
Verbs W/out translationsVerbs W/out translations
Verbs W/out translations
 
The Dominican Republic GCI sept 2013 español
The Dominican Republic GCI sept 2013  españolThe Dominican Republic GCI sept 2013  español
The Dominican Republic GCI sept 2013 español
 
Seminari Creacio Empreses
Seminari Creacio EmpresesSeminari Creacio Empreses
Seminari Creacio Empreses
 
V E R B S With G R A P H I C S
V E R B S With  G R A P H I C SV E R B S With  G R A P H I C S
V E R B S With G R A P H I C S
 
Early Treatment of Scoliosis in Spinal Atrophy
Early Treatment of Scoliosis in Spinal AtrophyEarly Treatment of Scoliosis in Spinal Atrophy
Early Treatment of Scoliosis in Spinal Atrophy
 
W H O Medical Schools
W H O Medical SchoolsW H O Medical Schools
W H O Medical Schools
 
History Of Atomic Structure
History Of Atomic StructureHistory Of Atomic Structure
History Of Atomic Structure
 
Hrp
HrpHrp
Hrp
 

Semelhante a Steve Barman - CSS and WordPress

Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Erin M. Kidwell
 
網頁程式設計
網頁程式設計網頁程式設計
網頁程式設計
傳錡 蕭
 
Web Fundamentals Crash Course
Web Fundamentals Crash CourseWeb Fundamentals Crash Course
Web Fundamentals Crash Course
MrAbbas
 
Web Fundamentals Crash Course
Web Fundamentals Crash CourseWeb Fundamentals Crash Course
Web Fundamentals Crash Course
MrAbas
 
3 coding101 fewd_lesson3_your_first_website 20210105
3 coding101 fewd_lesson3_your_first_website 202101053 coding101 fewd_lesson3_your_first_website 20210105
3 coding101 fewd_lesson3_your_first_website 20210105
John Picasso
 
How to create a basic template
How to create a basic templateHow to create a basic template
How to create a basic template
vathur
 

Semelhante a Steve Barman - CSS and WordPress (20)

JavaScript & CSS Development Workflow
JavaScript & CSS Development WorkflowJavaScript & CSS Development Workflow
JavaScript & CSS Development Workflow
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
Girl Develop It Cincinnati: Intro to HTML/CSS Class 4
 
網頁程式設計
網頁程式設計網頁程式設計
網頁程式設計
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
Structuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSSStructuring your CSS for maintainability: rules and guile lines to write CSS
Structuring your CSS for maintainability: rules and guile lines to write CSS
 
Developing a Web Application
Developing a Web ApplicationDeveloping a Web Application
Developing a Web Application
 
Intermediate Web Design
Intermediate Web DesignIntermediate Web Design
Intermediate Web Design
 
[WEB UI BASIC] CSS_1
[WEB UI BASIC] CSS_1[WEB UI BASIC] CSS_1
[WEB UI BASIC] CSS_1
 
Web Fundamentals Crash Course
Web Fundamentals Crash CourseWeb Fundamentals Crash Course
Web Fundamentals Crash Course
 
Web Fundamentals Crash Course
Web Fundamentals Crash CourseWeb Fundamentals Crash Course
Web Fundamentals Crash Course
 
3 coding101 fewd_lesson3_your_first_website 20210105
3 coding101 fewd_lesson3_your_first_website 202101053 coding101 fewd_lesson3_your_first_website 20210105
3 coding101 fewd_lesson3_your_first_website 20210105
 
Web Information Systems Html and css
Web Information Systems Html and cssWeb Information Systems Html and css
Web Information Systems Html and css
 
Front-End Frameworks: a quick overview
Front-End Frameworks: a quick overviewFront-End Frameworks: a quick overview
Front-End Frameworks: a quick overview
 
Untangling the web - fall2017 - class 4
Untangling the web - fall2017 - class 4Untangling the web - fall2017 - class 4
Untangling the web - fall2017 - class 4
 
Developing Your Ultimate Package
Developing Your Ultimate PackageDeveloping Your Ultimate Package
Developing Your Ultimate Package
 
Web
WebWeb
Web
 
Architektura html, css i javascript - Jan Kraus
Architektura html, css i javascript - Jan KrausArchitektura html, css i javascript - Jan Kraus
Architektura html, css i javascript - Jan Kraus
 
wd project.pptx
wd project.pptxwd project.pptx
wd project.pptx
 
Light introduction to HTML
Light introduction to HTMLLight introduction to HTML
Light introduction to HTML
 
How to create a basic template
How to create a basic templateHow to create a basic template
How to create a basic template
 

Mais de Anthony Montalbano (6)

7 tips to better manage client expectations
7 tips to better manage client expectations7 tips to better manage client expectations
7 tips to better manage client expectations
 
Building a mini-theme with WordPress REST API
Building a mini-theme with WordPress REST APIBuilding a mini-theme with WordPress REST API
Building a mini-theme with WordPress REST API
 
How to Execute Your Idea (v2)
How to Execute Your Idea (v2)How to Execute Your Idea (v2)
How to Execute Your Idea (v2)
 
Making static sites dynamic (with WordPress yo!)
Making static sites dynamic (with WordPress yo!)Making static sites dynamic (with WordPress yo!)
Making static sites dynamic (with WordPress yo!)
 
WordPress REST API
WordPress REST APIWordPress REST API
WordPress REST API
 
Building a website with WordPress
Building a website with WordPressBuilding a website with WordPress
Building a website with WordPress
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Steve Barman - CSS and WordPress

  • 1. CSS YES! (Even for beginners) {CSS}
  • 2. Wordpress sites consist of several parts ● The Content! – 1. HTML – HyperText Markup Language – 2. PHP – PHP Hypertext Processor (AKA: Personal Home Page) ● The Presentation! – 3. CSS – Cascading Style Sheets (and some behavior) – 4. JavaScript, jQuery, Ajax etc
  • 3. What's so great about it? ● CSS lets you style a lot of content with very little work. ● You can make your website look exactly how you want it. ● You cannot “break” anything! ● Unlike PHP, you can't make your page explode ● You won't lose content by CSS errors ● You can only make it look like geocities
  • 4. Right tools for the job ● A text editor (Sublime Text 2, Notepad ++) ● DO NOT USE MS WORD! ● A modern browser Chrome or Firefox (with Firebug) ● DO NOT USE INTERNET EXPLORER (ever!). ● Highly recommended: A local install of your website (outside the scope of this course) ● Also “Custom CSS CC” plugin
  • 5. Wordpress Fresh Install (with dummy content)
  • 8. How markup works ● <div class=”main”> ● <h1 class=”cssyes_header”>CSS YES!</h1> ● <h1 class=”tagline”>YESSSSS</h1> ● <span class=”author”>by Steve</span> ● </div>
  • 9. Specificity ● The Golden rule of CSS: The higher the specificity, the more likely the style will go through.
  • 10. CSS Syntax H1 { color: red; } H1.tagline { color: blue; }
  • 11. Specificity ● The element: p, div, ul, ol, span, ● (0, 0, 1) ● Class: p class=”something” // p.something {} ● (0,1,0) ● ID: div id=”yolo” // div#yolo {}
  • 13. Where else to learn ● Treehouse: http://referrals.trhou.se/stevesux ● Css-tricks.com ● W3schools.com ● nettuts