SlideShare a Scribd company logo
1 of 24
Download to read offline
Get Responsive in 30 minutes.




    Nikolay Ninarski (Ninio)
Shtrak! Ltd. (Штрак!.. да, ш&т).
              initLab
  html5, wp, drupal, mobile
Me?
• Developer
• WordPress fan
• I like Drupal also
• I and 2 friends founded a catering company
  that is doing WP and Drupal.
• Long story.
• Labber at initLab (hackerspaces FTW)
Why Mobile
Warning! Pie Chart ahead!




Copyright kayakeverywhere, flickr.com
x2/year
Desktop vs Mobile                Desktop vs Mobile
    (09.2011)                        (09.2012)
  Desktop     Mobile               Desktop    Mobile


     7%                             12%




            93%                              88%




                                          Data from StatCounter
How to go mobile?
Mobile Site Approaches
• Separate mobile website
• Responsive design
• Hybrid
Separate mobile version
• Detect the browser on server side
• Redirect and serve simpler design

+ Less load on the device
+ Tailor-made website
‒ More work
Responsive design
• Make CSS with media queries to show/hide stuff
(*media query = a point from which the design will
change.. Usually at specific width)
• Use js if needed to make more complex changes

+ Quick (in simple cases)
− Slower load/performance (desktop inheritance)
Responsive approaches
• Mobile first – if we do it from scratch.
  – Start from the mobile version and enhance
    iteratively up to the desktop
• Break/fix approach – In cases you have an
  existing non-responsive website.
  – Make the screen smaller and check when the
    design will break. Fix. Continue.
Check out our weapons
Break/fix approach
Tools:
• Chrome Web Dev Tools
• Make something smaller
• Make something bigger
• Make something fluid
• Hide something
• Convert something (possibly with js)
Step 1




Break Something
                    Copyright LinderRox, flickr.com
Step 1



Identify your break point (the point where it breaks)
Step 2




Find the problematic bastard



                Copyright COLECCION CAMARAS DE COLORES, flickr.com
Step 2



Find out what is breaking the page
Step 3



         Fix it
Step 3



                        Fix it
•   Make the things fluid on it (%)
•   Change size
•   Hide/show
•   …
Step 4



Go To Step 1
(loop-loop)
Step Last


                               Add
<meta name="viewport" content="width=device-width, initial-scale=1.0">

                          to the head
Hacker’s tip



Merge breakpoints so you don’t write that much
Break/fix comments
•   Good solution for existing websites
•   Not that much thinking involved
•   Kind of agile
•   Looks kind of natural
Want to go deeper
• http://adaptive-images.com/
• http://wordpress.org/extend/plugins/mobble/
• http://wordpress.org/extend/plugins/wptouc
  h/
• http://caniuse.com/
• http://smashingmagazine.com
• http://css-tricks.com/
Thanks!

M: ninio@shtrak.eu
Blog: http://shtrak.eu/ninio
Twitter: @ninarski
Shtrak!: http://shtrak.eu/it

More Related Content

What's hot

Jon-Mikel Bailey - Your Website’s Performance Matters to Google AND Your Clie...
Jon-Mikel Bailey - Your Website’s Performance Matters to Google AND Your Clie...Jon-Mikel Bailey - Your Website’s Performance Matters to Google AND Your Clie...
Jon-Mikel Bailey - Your Website’s Performance Matters to Google AND Your Clie...
Autumn Quarantotto
 
Talk 03 responsive-web-design
Talk 03 responsive-web-designTalk 03 responsive-web-design
Talk 03 responsive-web-design
Monkeyshot
 
Design4Drupal Boston 2013 - Bumps in the Road to Responsive
Design4Drupal Boston 2013 - Bumps in the Road to ResponsiveDesign4Drupal Boston 2013 - Bumps in the Road to Responsive
Design4Drupal Boston 2013 - Bumps in the Road to Responsive
Salem Ghoweri
 

What's hot (18)

Bridging the Gap: From WordPress beginner to WordPress Wizard
Bridging the Gap: From WordPress beginner to WordPress WizardBridging the Gap: From WordPress beginner to WordPress Wizard
Bridging the Gap: From WordPress beginner to WordPress Wizard
 
Dear Designers Love Developers
Dear Designers Love DevelopersDear Designers Love Developers
Dear Designers Love Developers
 
Prawn: Creating PDF in Ruby
Prawn: Creating PDF in RubyPrawn: Creating PDF in Ruby
Prawn: Creating PDF in Ruby
 
Jon-Mikel Bailey - Your Website’s Performance Matters to Google AND Your Clie...
Jon-Mikel Bailey - Your Website’s Performance Matters to Google AND Your Clie...Jon-Mikel Bailey - Your Website’s Performance Matters to Google AND Your Clie...
Jon-Mikel Bailey - Your Website’s Performance Matters to Google AND Your Clie...
 
Child Theme Frameworks
Child Theme FrameworksChild Theme Frameworks
Child Theme Frameworks
 
How to ensure a long life span for a website?
How to ensure a long life span for a website?How to ensure a long life span for a website?
How to ensure a long life span for a website?
 
Cinematic Interactives with Animate CC
Cinematic Interactives with Animate CCCinematic Interactives with Animate CC
Cinematic Interactives with Animate CC
 
WordPress & Accessibility
WordPress & AccessibilityWordPress & Accessibility
WordPress & Accessibility
 
Talk 03 responsive-web-design
Talk 03 responsive-web-designTalk 03 responsive-web-design
Talk 03 responsive-web-design
 
Design4Drupal Boston 2013 - Bumps in the Road to Responsive
Design4Drupal Boston 2013 - Bumps in the Road to ResponsiveDesign4Drupal Boston 2013 - Bumps in the Road to Responsive
Design4Drupal Boston 2013 - Bumps in the Road to Responsive
 
Producing a mobile presence. Timeline: Yesterday...
Producing a mobile presence. Timeline: Yesterday...Producing a mobile presence. Timeline: Yesterday...
Producing a mobile presence. Timeline: Yesterday...
 
How to ensure a long life span for a website (WPHelsinki 2.11.2016)
How to ensure a long life span for a website (WPHelsinki 2.11.2016)How to ensure a long life span for a website (WPHelsinki 2.11.2016)
How to ensure a long life span for a website (WPHelsinki 2.11.2016)
 
Websites for Small Businesses
Websites for Small Businesses Websites for Small Businesses
Websites for Small Businesses
 
Optimal Mobile Web Experiences
Optimal Mobile Web ExperiencesOptimal Mobile Web Experiences
Optimal Mobile Web Experiences
 
Tangible ideas
Tangible ideasTangible ideas
Tangible ideas
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Resources and lessons for using WordPress in your business
Resources and lessons for using WordPress in your businessResources and lessons for using WordPress in your business
Resources and lessons for using WordPress in your business
 
Low Cost Community Engagement Tools
Low Cost Community Engagement ToolsLow Cost Community Engagement Tools
Low Cost Community Engagement Tools
 

Viewers also liked (7)

Въведение в WordPress
Въведение в WordPressВъведение в WordPress
Въведение в WordPress
 
Ease your dev life with Sublime Text 2
Ease your dev life with Sublime Text 2Ease your dev life with Sublime Text 2
Ease your dev life with Sublime Text 2
 
WordPress основи в сигурността
WordPress основи в сигурносттаWordPress основи в сигурността
WordPress основи в сигурността
 
WordPress Plugins
WordPress PluginsWordPress Plugins
WordPress Plugins
 
WordPress - working with themes
WordPress - working with themesWordPress - working with themes
WordPress - working with themes
 
Лекция 00 - Въведение в WordPress
Лекция 00 - Въведение в WordPressЛекция 00 - Въведение в WordPress
Лекция 00 - Въведение в WordPress
 
Хакерспейсовете на Балканите и в България
Хакерспейсовете на Балканите и в БългарияХакерспейсовете на Балканите и в България
Хакерспейсовете на Балканите и в България
 

Similar to Get responsive in 30 minutes (WordCamp Sofia)

FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
Frédéric Harper
 
responsive awareness
responsive awarenessresponsive awareness
responsive awareness
onehundred_be
 

Similar to Get responsive in 30 minutes (WordCamp Sofia) (20)

Responsive Web Design_2013
Responsive Web Design_2013Responsive Web Design_2013
Responsive Web Design_2013
 
Tech Thursdays: Building Products
Tech Thursdays: Building ProductsTech Thursdays: Building Products
Tech Thursdays: Building Products
 
Designing and Theming Drupal for Mobile Devices
Designing and Theming Drupal for Mobile DevicesDesigning and Theming Drupal for Mobile Devices
Designing and Theming Drupal for Mobile Devices
 
Building Mobile Web Apps with jQM and Cordova on Azure
Building Mobile Web Apps with jQM and Cordova on AzureBuilding Mobile Web Apps with jQM and Cordova on Azure
Building Mobile Web Apps with jQM and Cordova on Azure
 
Mobile Best Practices
Mobile Best PracticesMobile Best Practices
Mobile Best Practices
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
 
Embracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think ResponsivelyEmbracing Uncertainty: Learning to Think Responsively
Embracing Uncertainty: Learning to Think Responsively
 
Production process presentation - drupalcamp Toronto 2010
Production process presentation - drupalcamp Toronto 2010Production process presentation - drupalcamp Toronto 2010
Production process presentation - drupalcamp Toronto 2010
 
UX design for every screen
UX design for every screenUX design for every screen
UX design for every screen
 
Monkeytalk Fall 2012 - Responsive Web Design
Monkeytalk Fall 2012 - Responsive Web DesignMonkeytalk Fall 2012 - Responsive Web Design
Monkeytalk Fall 2012 - Responsive Web Design
 
We’re Going Mobile! Great! Wait… What Does That Mean?
We’re Going Mobile! Great! Wait… What Does That Mean?We’re Going Mobile! Great! Wait… What Does That Mean?
We’re Going Mobile! Great! Wait… What Does That Mean?
 
Front End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalFront End page speed performance improvements for Drupal
Front End page speed performance improvements for Drupal
 
Introduction to web sites design
Introduction to  web sites designIntroduction to  web sites design
Introduction to web sites design
 
responsive awareness
responsive awarenessresponsive awareness
responsive awareness
 
Front End page speed performance improvements for Drupal
Front End page speed performance improvements for DrupalFront End page speed performance improvements for Drupal
Front End page speed performance improvements for Drupal
 
Responsive Web Design
Responsive Web Design Responsive Web Design
Responsive Web Design
 
For a Social Local and Mobile Drupal
For a Social Local and Mobile DrupalFor a Social Local and Mobile Drupal
For a Social Local and Mobile Drupal
 
Responsive Web Design - Why and How
Responsive Web Design - Why and HowResponsive Web Design - Why and How
Responsive Web Design - Why and How
 
Responsive Design And You
Responsive Design And YouResponsive Design And You
Responsive Design And You
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
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
 
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)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
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
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
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
 
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
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
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
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 

Get responsive in 30 minutes (WordCamp Sofia)

  • 1. Get Responsive in 30 minutes. Nikolay Ninarski (Ninio) Shtrak! Ltd. (Штрак!.. да, ш&т). initLab html5, wp, drupal, mobile
  • 2. Me? • Developer • WordPress fan • I like Drupal also • I and 2 friends founded a catering company that is doing WP and Drupal. • Long story. • Labber at initLab (hackerspaces FTW)
  • 4. Warning! Pie Chart ahead! Copyright kayakeverywhere, flickr.com
  • 5. x2/year Desktop vs Mobile Desktop vs Mobile (09.2011) (09.2012) Desktop Mobile Desktop Mobile 7% 12% 93% 88% Data from StatCounter
  • 6. How to go mobile?
  • 7. Mobile Site Approaches • Separate mobile website • Responsive design • Hybrid
  • 8. Separate mobile version • Detect the browser on server side • Redirect and serve simpler design + Less load on the device + Tailor-made website ‒ More work
  • 9. Responsive design • Make CSS with media queries to show/hide stuff (*media query = a point from which the design will change.. Usually at specific width) • Use js if needed to make more complex changes + Quick (in simple cases) − Slower load/performance (desktop inheritance)
  • 10. Responsive approaches • Mobile first – if we do it from scratch. – Start from the mobile version and enhance iteratively up to the desktop • Break/fix approach – In cases you have an existing non-responsive website. – Make the screen smaller and check when the design will break. Fix. Continue.
  • 11. Check out our weapons
  • 12. Break/fix approach Tools: • Chrome Web Dev Tools • Make something smaller • Make something bigger • Make something fluid • Hide something • Convert something (possibly with js)
  • 13. Step 1 Break Something Copyright LinderRox, flickr.com
  • 14. Step 1 Identify your break point (the point where it breaks)
  • 15. Step 2 Find the problematic bastard Copyright COLECCION CAMARAS DE COLORES, flickr.com
  • 16. Step 2 Find out what is breaking the page
  • 17. Step 3 Fix it
  • 18. Step 3 Fix it • Make the things fluid on it (%) • Change size • Hide/show • …
  • 19. Step 4 Go To Step 1 (loop-loop)
  • 20. Step Last Add <meta name="viewport" content="width=device-width, initial-scale=1.0"> to the head
  • 21. Hacker’s tip Merge breakpoints so you don’t write that much
  • 22. Break/fix comments • Good solution for existing websites • Not that much thinking involved • Kind of agile • Looks kind of natural
  • 23. Want to go deeper • http://adaptive-images.com/ • http://wordpress.org/extend/plugins/mobble/ • http://wordpress.org/extend/plugins/wptouc h/ • http://caniuse.com/ • http://smashingmagazine.com • http://css-tricks.com/

Editor's Notes

  1. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint
  2. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint
  3. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint
  4. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint
  5. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint
  6. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint
  7. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint
  8. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint
  9. Find your First break point – make the screen smaller and see when the horizontal line appears. Hovering over the html element shows the width of our breakpoint