SlideShare une entreprise Scribd logo
1  sur  94
@fordie
RESPONSIVE


             @fordie
RESPONSIVE
Twitter Bootstrap &



                  @fordie
OVERVIEW
OVERVIEW


• CSS   Preprocessors
OVERVIEW


• CSS   Preprocessors

• LESS
OVERVIEW


• CSS   Preprocessors

• LESS

• Twitter   Bootstrap
OVERVIEW


• CSS   Preprocessors

• LESS

• Twitter   Bootstrap

• Responsive   Design
CSS PREPROCESSORS
CSS PREPROCESSORS


• LESS
CSS PREPROCESSORS


• LESS

• Sass
CSS PREPROCESSORS


• LESS

• Sass

• Compass
CSS PREPROCESSORS


• LESS

• Sass

• Compass

• Turbine, Switch   CSS, etc…
WHAT IS LESS?
WHAT IS LESS?

•A   Superset of CSS
WHAT IS LESS?

•A   Superset of CSS

• Variables
WHAT IS LESS?

•A   Superset of CSS

• Variables

• Mixins
WHAT IS LESS?

•A   Superset of CSS

• Variables

• Mixins

• Nested   Rules
WHAT IS LESS?

•A   Superset of CSS

• Variables

• Mixins

• Nested   Rules

• Functions   & Operations
USING LESS - COMPILERS
USING LESS - COMPILERS


• JS
USING LESS - COMPILERS


• JS

• Server   side
USING LESS - COMPILERS


• JS

• Server   side

• Winless
USING LESS - COMPILERS


• JS

• Server   side

• Winless

• LESS.app   or Codekit
VARIABLES
VARIABLES


          allow properties such as colours & fonts to be
• Variables
 declared once and referenced many times through your LESS
 file(s)
VARIABLES


          allow properties such as colours & fonts to be
• Variables
 declared once and referenced many times through your LESS
 file(s)

• Can   be used for text strings too, such as file paths
MIXINS
MIXINS


• Mixinsallow you to embed properties of a class into another
 by using the Mixin class name as a property
MIXINS


• Mixinsallow you to embed properties of a class into another
 by using the Mixin class name as a property

• Mixinscan also take parameters, which means that they can
 can produce different code for you
NESTED RULES
NESTED RULES



• Nestselectors inside other selectors. Making inheritance clear
 and style sheets shorter.
FUNCTIONS & OPERATIONS
FUNCTIONS & OPERATIONS
FUNCTIONS & OPERATIONS



• Functions
          map one-to-one with JavaScript code, allowing you
 to manipulate values however you want
FUNCTIONS & OPERATIONS



• Functions
          map one-to-one with JavaScript code, allowing you
 to manipulate values however you want

• Operationslet you add, subtract, divide and multiply. For
 example properties, values and colors
TWITTER BOOTSTRAP
BOOTSTRAP - WHAT’S IN IT?
BOOTSTRAP - WHAT’S IN IT?


• Requires   HTML5 doctype
BOOTSTRAP - WHAT’S IN IT?


• Requires   HTML5 doctype

• Reset   via Normalize
BOOTSTRAP - WHAT’S IN IT?


• Requires   HTML5 doctype

• Reset   via Normalize

• Base   styles for Typography and links
BOOTSTRAP - WHAT’S IN IT?
BOOTSTRAP - WHAT’S IN IT?

• Responsive  12-column grids,
 layouts, and components.
BOOTSTRAP - WHAT’S IN IT?

• Responsive  12-column grids,
 layouts, and components.

• Fundamental HTML
 elements styled and
 enhanced with extensible
 classes
BOOTSTRAP - WHAT’S IN IT?

• Responsive  12-column grids,   • Dozens  of reusable
 layouts, and components.         components built to provide
                                  navigation, alerts, popovers,
• Fundamental HTML                and more
 elements styled and
 enhanced with extensible
 classes
BOOTSTRAP - WHAT’S IN IT?

• Responsive  12-column grids,   • Dozens  of reusable
 layouts, and components.         components built to provide
                                  navigation, alerts, popovers,
• Fundamental HTML                and more
 elements styled and
 enhanced with extensible        • 13   custom jQuery plugins
 classes
FEATURES
GETTING STARTED
GETTING STARTED


• Goto the project github page - https://github.com/twitter/
 bootstrap
GETTING STARTED


• Goto the project github page - https://github.com/twitter/
 bootstrap

• Click
      the download zip button (or clone) & unzip in to your
 website’s root
GETTING STARTED


• Goto the project github page - https://github.com/twitter/
 bootstrap

• Click
      the download zip button (or clone) & unzip in to your
 website’s root

• Rename   the extracted folder to “assets”
GETTING STARTED
GETTING STARTED

• Go   to http://twitter.github.com/bootstrap/examples/fluid.html
GETTING STARTED

• Go   to http://twitter.github.com/bootstrap/examples/fluid.html

• Save   the source as index.htm in your website root
GETTING STARTED

• Go   to http://twitter.github.com/bootstrap/examples/fluid.html

• Save   the source as index.htm in your website root

• Change    the path to assets
GETTING STARTED

• Go   to http://twitter.github.com/bootstrap/examples/fluid.html

• Save   the source as index.htm in your website root

• Change    the path to assets

• Download    the latest version of jQuery.js to assets
GETTING STARTED

• Go   to http://twitter.github.com/bootstrap/examples/fluid.html

• Save   the source as index.htm in your website root

• Change    the path to assets

• Download    the latest version of jQuery.js to assets

• Gasp   in amazement when it just works
RESPONSIVE DESIGN


• Based    on media queries (Min & Max width)

• Fluid   containers based on percentage widths

• Flexible   images
MOBILE FIRST
"If you design for mobile first, you can create agreement up
    front on what matters most. You can then apply the same
 rationale to the desktop (and any other) experience of your
 web product. If you can agree on the most important set of
  features and content for your customers and business, why
   should that prioritization change with more screen space?"
LukeWroblewski
MOBILE FIRST PRINCIPLES
MOBILE FIRST PRINCIPLES

• Start   with shared styles, add complexity as space permits
MOBILE FIRST PRINCIPLES

• Start   with shared styles, add complexity as space permits

  • One    column first, add more as you go
MOBILE FIRST PRINCIPLES

• Start   with shared styles, add complexity as space permits

  • One     column first, add more as you go

  • Small
        images for logos etc, switch to larger versions for
   desktop
MOBILE FIRST PRINCIPLES

• Start   with shared styles, add complexity as space permits

  • One     column first, add more as you go

  • Small
        images for logos etc, switch to larger versions for
   desktop

  • Use    CSS instead of images where possible
MOBILE FIRST PRINCIPLES

• Start   with shared styles, add complexity as space permits

  • One     column first, add more as you go

  • Small
        images for logos etc, switch to larger versions for
   desktop

  • Use    CSS instead of images where possible

• Use   relative units (percentages & ems) for greater flexability
TESTING RESPONSIVE DESIGN
TESTING RESPONSIVE DESIGN


• Adjust   browser width
TESTING RESPONSIVE DESIGN


• Adjust   browser width

• Upload   to server & view in various devices
TESTING RESPONSIVE DESIGN


• Adjust   browser width

• Upload   to server & view in various devices

• Adobe    Shadow
RESPONSIVE WEB
    DESIGN
RESPONSIVE WEB
           DESIGN
With   Twitter Bootstrap & LESS
TO SUMMARISE
TO SUMMARISE

• LESS   is a powerful tool for CSS development
TO SUMMARISE

• LESS   is a powerful tool for CSS development

 • speeds   up development time
TO SUMMARISE

• LESS   is a powerful tool for CSS development

 • speeds   up development time

 • keeps   things DRY (at least when developing)
TO SUMMARISE

• LESS   is a powerful tool for CSS development

 • speeds    up development time

 • keeps    things DRY (at least when developing)

 • really   useful for X browser support
TO SUMMARISE

• LESS   is a powerful tool for CSS development

 • speeds    up development time

 • keeps    things DRY (at least when developing)

 • really   useful for X browser support

 • fun   to work with
TO SUMMARISE
TO SUMMARISE

• Bootstrap   is MASSIVE
TO SUMMARISE

• Bootstrap   is MASSIVE

 • speeds   up development time
TO SUMMARISE

• Bootstrap   is MASSIVE

 • speeds    up development time

 • lots   of browser testing done
TO SUMMARISE

• Bootstrap   is MASSIVE

 • speeds    up development time

 • lots   of browser testing done

 • great   for prototyping
TO SUMMARISE

• Bootstrap   is MASSIVE

 • speeds    up development time

 • lots   of browser testing done

 • great   for prototyping

 • it   does control the way you code
TO SUMMARISE

• Bootstrap    is MASSIVE

 • speeds     up development time

 • lots   of browser testing done

 • great    for prototyping

 • it   does control the way you code

 • if   you don’t like presentational class names, it’s not for you
THAT’S IT!
THAT’S IT!


• Have   a look at VoiceOfTheMysterons.com for:

 • links

 • demos    on git hub

 • slides
Than
Than
Questions?

Contenu connexe

Dernier

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 

Dernier (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
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?
 

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Responsive Webdesign - with Twitter Bootstrap & LESS

Notes de l'éditeur

  1. Welcome, thanks for coming\nquick bioWeb developer since 1999\nusing less for just under a year - Bootstrap for a couple of projects\nI just got keynote for this presentation. Sorry if I’ve gone OTT with transitions\n
  2. Welcome, thanks for coming\nquick bioWeb developer since 1999\nusing less for just under a year - Bootstrap for a couple of projects\nI just got keynote for this presentation. Sorry if I’ve gone OTT with transitions\n
  3. A quick overview of what we’ll be looking at this evening\n
  4. A quick overview of what we’ll be looking at this evening\n
  5. A quick overview of what we’ll be looking at this evening\n
  6. A quick overview of what we’ll be looking at this evening\n
  7. Provide tools for rapid DRY (don’t repeat yourself) CSS development\nThey are an extra intermediate language, but I think they’re worth using\nToday, I’ll be focusing on the one know anything about: LESS\n
  8. Provide tools for rapid DRY (don’t repeat yourself) CSS development\nThey are an extra intermediate language, but I think they’re worth using\nToday, I’ll be focusing on the one know anything about: LESS\n
  9. Provide tools for rapid DRY (don’t repeat yourself) CSS development\nThey are an extra intermediate language, but I think they’re worth using\nToday, I’ll be focusing on the one know anything about: LESS\n
  10. Provide tools for rapid DRY (don’t repeat yourself) CSS development\nThey are an extra intermediate language, but I think they’re worth using\nToday, I’ll be focusing on the one know anything about: LESS\n
  11. Any valid CSS is also valid LESS\nVariables, Constants actually (but let’s not get tied up on semantics)\nMixins - essentially inheritable classes\nNest CSS rules inside each other during development, have valid CSS generated\nOperations let you add, subtract, divide and multiply property values and colors, giving you the power to create complex relationships between properties.\nNo download for LESS itself, just start writing as normal CSS\n\n\n\n
  12. Any valid CSS is also valid LESS\nVariables, Constants actually (but let’s not get tied up on semantics)\nMixins - essentially inheritable classes\nNest CSS rules inside each other during development, have valid CSS generated\nOperations let you add, subtract, divide and multiply property values and colors, giving you the power to create complex relationships between properties.\nNo download for LESS itself, just start writing as normal CSS\n\n\n\n
  13. Any valid CSS is also valid LESS\nVariables, Constants actually (but let’s not get tied up on semantics)\nMixins - essentially inheritable classes\nNest CSS rules inside each other during development, have valid CSS generated\nOperations let you add, subtract, divide and multiply property values and colors, giving you the power to create complex relationships between properties.\nNo download for LESS itself, just start writing as normal CSS\n\n\n\n
  14. Any valid CSS is also valid LESS\nVariables, Constants actually (but let’s not get tied up on semantics)\nMixins - essentially inheritable classes\nNest CSS rules inside each other during development, have valid CSS generated\nOperations let you add, subtract, divide and multiply property values and colors, giving you the power to create complex relationships between properties.\nNo download for LESS itself, just start writing as normal CSS\n\n\n\n
  15. Any valid CSS is also valid LESS\nVariables, Constants actually (but let’s not get tied up on semantics)\nMixins - essentially inheritable classes\nNest CSS rules inside each other during development, have valid CSS generated\nOperations let you add, subtract, divide and multiply property values and colors, giving you the power to create complex relationships between properties.\nNo download for LESS itself, just start writing as normal CSS\n\n\n\n
  16. Browsers don’t understand LESS so this is where compilers come in, so we need a way of serving them CSS.\nJS not recommended for production\nThe last three work in much the same way as each other, compiling the LESS in to CSS each time the file is saved\nexplain benefits of codekit (show websites)\n\n
  17. Browsers don’t understand LESS so this is where compilers come in, so we need a way of serving them CSS.\nJS not recommended for production\nThe last three work in much the same way as each other, compiling the LESS in to CSS each time the file is saved\nexplain benefits of codekit (show websites)\n\n
  18. Browsers don’t understand LESS so this is where compilers come in, so we need a way of serving them CSS.\nJS not recommended for production\nThe last three work in much the same way as each other, compiling the LESS in to CSS each time the file is saved\nexplain benefits of codekit (show websites)\n\n
  19. Browsers don’t understand LESS so this is where compilers come in, so we need a way of serving them CSS.\nJS not recommended for production\nThe last three work in much the same way as each other, compiling the LESS in to CSS each time the file is saved\nexplain benefits of codekit (show websites)\n\n
  20. DEMO\nShow variable demo & codekit compiling\n
  21. DEMO\nShow variable demo & codekit compiling\n
  22. a) It’s just like variables, but for whole classes. b)(Parametric Mixins) pass in border radius or font size for exampleLESSElements - \nDEMO\ninvert header colours\n.round\n.fs\nLessElements\n.rounded\n.gradient\n
  23. a) It’s just like variables, but for whole classes. b)(Parametric Mixins) pass in border radius or font size for exampleLESSElements - \nDEMO\ninvert header colours\n.round\n.fs\nLessElements\n.rounded\n.gradient\n
  24. \nMay not be as much as a time saver as it looks. Debugging specificity from generated rules can be a bugger\n\nWe’ll see some nested rules in the next demo\n
  25. This is probably the area of LESS I’m least experienced with.\nI’ve never used a JS style function myself (and from looking on line I don’t think they’re used widely).\nFor an experiment I thought we’d take a look at a colour Operation that Andy Clarke wrote.\n\nDEMO\ntalk through demo less file & HTML first\nPoint out nested LESS rules\nPoint out operation\nAs for a hex colour from the audience\ndisplay HTML page\n
  26. This is probably the area of LESS I’m least experienced with.\nI’ve never used a JS style function myself (and from looking on line I don’t think they’re used widely).\nFor an experiment I thought we’d take a look at a colour Operation that Andy Clarke wrote.\n\nDEMO\ntalk through demo less file & HTML first\nPoint out nested LESS rules\nPoint out operation\nAs for a hex colour from the audience\ndisplay HTML page\n
  27. This is probably the area of LESS I’m least experienced with.\nI’ve never used a JS style function myself (and from looking on line I don’t think they’re used widely).\nFor an experiment I thought we’d take a look at a colour Operation that Andy Clarke wrote.\n\nDEMO\ntalk through demo less file & HTML first\nPoint out nested LESS rules\nPoint out operation\nAs for a hex colour from the audience\ndisplay HTML page\n
  28. So, in a nutshell that’s LESS.\n
  29. On to Bootstrap\n
  30. It’s a framework developed in house at twitter - packed with features\nBootcamp makes use of some of HTML5’s new elements. \nNormalize.css preserves useful defaults rather than "unstyling" everything\n\n
  31. It’s a framework developed in house at twitter - packed with features\nBootcamp makes use of some of HTML5’s new elements. \nNormalize.css preserves useful defaults rather than "unstyling" everything\n\n
  32. It’s a framework developed in house at twitter - packed with features\nBootcamp makes use of some of HTML5’s new elements. \nNormalize.css preserves useful defaults rather than "unstyling" everything\n\n
  33. Everything starts life as a LESS class, so it’s all configurable\nFixed or responsive layout\njQuery plugins add a bit of extra pizzaz\n
  34. Everything starts life as a LESS class, so it’s all configurable\nFixed or responsive layout\njQuery plugins add a bit of extra pizzaz\n
  35. Everything starts life as a LESS class, so it’s all configurable\nFixed or responsive layout\njQuery plugins add a bit of extra pizzaz\n
  36. Everything starts life as a LESS class, so it’s all configurable\nFixed or responsive layout\njQuery plugins add a bit of extra pizzaz\n
  37. I was going to try and talk through everything in the framework\nlooked at the Bootstrap part of my mind map & decided just to run through the twitter bootstrap website quickly\nthen we’ll move on to Demos\n
  38. look at bootstrap website starting with http://twitter.github.com/bootstrap/base-css.html\nPoint out Add ons in Forms (new in 2.1)\nNew image classes\nicon glyphs\n\nThe lines get a bit blurred, but in general Base CSS is for individual elements, Components are more structured chunks\n
  39. Downloading from the project homepage doesn’t include the LESS files\n
  40. Downloading from the project homepage doesn’t include the LESS files\n
  41. Downloading from the project homepage doesn’t include the LESS files\n
  42. Talk through site structure\npoint out @includes in bootstrap.less & explain how CSS is generated from all the files\nmost things you need to change are in variables.css \n\nDemonstrate page is unstyled\nBuild Bootstrap.less\nchange button colour or something\n\nDemonstrate page is unresponsive\n\n
  43. Talk through site structure\npoint out @includes in bootstrap.less & explain how CSS is generated from all the files\nmost things you need to change are in variables.css \n\nDemonstrate page is unstyled\nBuild Bootstrap.less\nchange button colour or something\n\nDemonstrate page is unresponsive\n\n
  44. Talk through site structure\npoint out @includes in bootstrap.less & explain how CSS is generated from all the files\nmost things you need to change are in variables.css \n\nDemonstrate page is unstyled\nBuild Bootstrap.less\nchange button colour or something\n\nDemonstrate page is unresponsive\n\n
  45. Talk through site structure\npoint out @includes in bootstrap.less & explain how CSS is generated from all the files\nmost things you need to change are in variables.css \n\nDemonstrate page is unstyled\nBuild Bootstrap.less\nchange button colour or something\n\nDemonstrate page is unresponsive\n\n
  46. Talk through site structure\npoint out @includes in bootstrap.less & explain how CSS is generated from all the files\nmost things you need to change are in variables.css \n\nDemonstrate page is unstyled\nBuild Bootstrap.less\nchange button colour or something\n\nDemonstrate page is unresponsive\n\n
  47. A site designed with RWD uses CSS3 media queries, an extension of the @media rule, to adapt the layout to the viewing environment—along with fluid proportion-based grids and flexible images (according to wikipedia)\nFlexible images are a percentage of their container width generally with a min & max width.\n
  48. Mobile First is a pretty straightforward idea.\n\nI’m going to explain the principles now. However I’m going to carry on building a responsive page based on the bootstrap example I’ve already shown you tonight. So this won’t be mobile first.\n\n
  49. Mobile first development makes sense because it’s easier to add things to a design (for larger screens) than it is to take them away for mobile\n\n
  50. A lot of the techniques for mobile development are just good practice any way.\nKeep the number of http requests as low as you can\nuse sprites\nminify & optimise\n
  51. A lot of the techniques for mobile development are just good practice any way.\nKeep the number of http requests as low as you can\nuse sprites\nminify & optimise\n
  52. A lot of the techniques for mobile development are just good practice any way.\nKeep the number of http requests as low as you can\nuse sprites\nminify & optimise\n
  53. A lot of the techniques for mobile development are just good practice any way.\nKeep the number of http requests as low as you can\nuse sprites\nminify & optimise\n
  54. A lot of the techniques for mobile development are just good practice any way.\nKeep the number of http requests as low as you can\nuse sprites\nminify & optimise\n
  55. There are a number of ways to test\n\nWe’ll use the first & last on this list\nlook at the adobe shadow website\n
  56. There are a number of ways to test\n\nWe’ll use the first & last on this list\nlook at the adobe shadow website\n
  57. There are a number of ways to test\n\nWe’ll use the first & last on this list\nlook at the adobe shadow website\n
  58. One of the biggest issues I have when building things for myself is coming up with content.\nFor tonight I decided to use a domain I already owned as inspiration\n\nShow unstyled page\ntalk through media queries in responsive stylesheets\npoint out web font\npoint out where I added the extra selector in 768 - 979 for font\nshow connecting shadow on the phone to the mac\n\nbuild \n\nshow mobile version on handset & iPad first (shadow)\nbig screen\n\nShow dashboard as an example of what can be done with Bootstrap - explain that it was knocked up very quickly as a proof of concept\n
  59. One of the biggest issues I have when building things for myself is coming up with content.\nFor tonight I decided to use a domain I already owned as inspiration\n\nShow unstyled page\ntalk through media queries in responsive stylesheets\npoint out web font\npoint out where I added the extra selector in 768 - 979 for font\nshow connecting shadow on the phone to the mac\n\nbuild \n\nshow mobile version on handset & iPad first (shadow)\nbig screen\n\nShow dashboard as an example of what can be done with Bootstrap - explain that it was knocked up very quickly as a proof of concept\n
  60. Hard to overstate how useful Mixins & variables are\n
  61. Hard to overstate how useful Mixins & variables are\n
  62. Hard to overstate how useful Mixins & variables are\n
  63. Hard to overstate how useful Mixins & variables are\n
  64. Hard to overstate how useful Mixins & variables are\n
  65. \n
  66. \n
  67. \n
  68. \n
  69. \n
  70. \n
  71. \n
  72. \n
  73. \n