SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
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
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

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