SlideShare a Scribd company logo
1 of 13
Download to read 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

More Related Content

What's hot

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
 

What's hot (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
 

Viewers also liked

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
 

Viewers also liked (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
 

Similar to 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
 

Similar to 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
 

More from 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
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
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
 

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