SlideShare une entreprise Scribd logo
1  sur  52
Télécharger pour lire hors ligne
MU Adobe Camp 2013




 DESIGNING RESPONSIVELY
           with Dreamweaver CS6
                     james williamson | lynda.com
MU Adobe Camp 2013




           Howdy y’all
                     james williamson

                                    | senior author


                     @jameswillweb on the Twitter
MU Adobe Camp 2013




                     Go SEC!
MU Adobe Camp 2013




             What is Responsive Design?
                     I mean, is it really a thing?
MU Adobe Camp 2013




           Responsive Design:
           Designing with multiple screen sizes and clients in mind,

           so that you give the best experience to the widest array of

           clients and user agents possible. This includes fluid

           layouts, fluid media, and context-sensitive design.
MU Adobe Camp 2013




Common Responsive Design concepts
             Viewports
             The current client window is often referred to as the
             “Viewport.” The Viewport meta tag and the CSS @viewport
             rule allow us to control how devices size and initially
             display the viewport, which is critical for designing for
             mobile devices.
MU Adobe Camp 2013




Common Responsive Design concepts
             Fluid Grids
             Layout grids that are designed to flex as screen sizes
             change. These are typically class-based selectors that only
             control layout and are defined using percentages.
MU Adobe Camp 2013




Common Responsive Design concepts
             Mobile First
             A way of approaching design that considers the mobile
             screen and context first as a way of focusing content and
             user experience. A better experience on mobile often
             results in a more streamlined experience on all devices.
MU Adobe Camp 2013




Common Responsive Design concepts
             Content Breakpoints
             As screen sizes change, the available screen real estate often results
             in poor fitting content, broken layouts, or unintended layout errors.
             Content Breakpoints indicate a screen size that necessitates some
             change in layout or content presentation. Rather than focusing on
             device screen sizes, which are constantly changing, designers
             should rather focus on establishing content breakpoints, modifying
             their designs based on these breakpoints, and letting devices
             display whichever breakpoint they represent.
MU Adobe Camp 2013




          Fantastic. What does that have to do
                  with Dreamweaver?
MU Adobe Camp 2013




Responsive Design tools in Dreamweaver
      Fluid Grids


      Media Query Support


      Multi-Screen Preview


      Responsive Live View resizing
MU Adobe Camp 2013




Demo: Exploring responsive tools in Dreamweaver
MU Adobe Camp 2013




           Responsive Layouts
           Create fluid layouts that target a range of screen sizes

           without targeting specific devices or screen sizes. Use

           media queries to respond to breakpoints that are planned

           around when content needs to change, not when a specific

           size has been reached.
MU Adobe Camp 2013




The meta viewport tag
        Meta viewport tags allow you to control the initial size of the
        viewport on mobile devices, ensuring a consistent experience



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


                   This syntax tells the device to set the viewport width to the actual
                       device width to ensure the proper media query styles are used.
MU Adobe Camp 2013




The @viewport rule
        Controlling viewport functionality is coming to CSS as well.
        Support is increasing, but not universal.



                @viewport {
                    width: device-width;
                    zoom: 1;
                  }

                       This syntax also sets the viewport width to the actual device
                               width and sets the initial scale of the page to 100%.
MU Adobe Camp 2013




Demo: Setting the viewport
MU Adobe Camp 2013




Media Queries
            CSS Media Queries give us a way to control the
            application of styles based on the presence or
            absence of specific media features
MU Adobe Camp 2013




Media query syntax
                  link	
  rel="stylesheet"	
  href="desktop.css"	
  
                  media="screen	
  and	
  (min-­‐width:500px)"


                  @media	
  screen	
  and	
  (min-­‐width:500px)	
  {
                  	
  	
  //styles	
  go	
  here
                  }


            Media query syntax can be applied to media attributes in
               link tags, or inline within an existing set of styles
MU Adobe Camp 2013




Media features
             width*                        color*
             height*                       color-­‐index*
             device-­‐width*               monochrome*
             device-­‐height*              resolution*
             orientation                   scan
             aspect-­‐ratio*               grid
             device-­‐aspect-­‐ratio*




                                        *accepts “min-” & “max-” prefixes
MU Adobe Camp 2013




Content Breakpoints
        Content breakpoints are determined by using a fluid layout and
        then resizing the browser window. When the layout reaches a
        less than optimal state, or breaks, you assign a content
        breakpoint to that size. New layouts are constructed within that
        breakpoint, and the process continues until the desired range of
        screen sizes are accounted for.
MU Adobe Camp 2013




Demo: Media queries and breakpoints
MU Adobe Camp 2013




Fluid Layouts
        Fluid layouts use percentage-based widths to control
        the width of page elements. This allows the page
        layout to adapt to the screen size, regardless of how
        large or small the screen.
MU Adobe Camp 2013




Fluid Layout guidelines
        Only the most basic layouts will work across all screen sizes


        You can use min and max width values to establish ranges for fluid
        layouts


        Designing for a range of screen sizes allows you to ignore specific
        devices or screen sizes


        Fixed-width assets like images and video can complicate fluid layouts
        by causing them to break at specific sizes
MU Adobe Camp 2013




Fluid Grids
         Fluid grids are typically groups of class-based selectors that
         contain floats, varying percentage-based widths, and clearing
         properties. By creating a grid system layouts can be created by
         the simple process of applying class attributes to page elements.
MU Adobe Camp 2013




Fluid Grids pros and cons
        Easy to use

        Many fluid grids already available

        Can reuse them over and over

        May add unnecessary weight

        Use non-semantic class names
MU Adobe Camp 2013




Demo: Building fluid layouts
MU Adobe Camp 2013




           Responsive Media
           Fixed-width assets like media can be very challenging
           when designing responsive sites. Image or video sizes can
           break fluid layouts, and server requests, file size, and
           formats can make dealing with media in responsive
           designs tricky. While no definitive solution has been
           reached yet allowing for effortless responsive media,
           several techniques have evolved that allow media to work
           well within responsive designs.
MU Adobe Camp 2013




Using background-images
       If an image is purely decorative use a background-image instead,
       as requests for these can be filtered through media queries and
       only requested when needed.
MU Adobe Camp 2013




Using CSS Sprites
    Using CSS Sprites can reduce http requests and
    make it easier to design assets
MU Adobe Camp 2013




Using CSS in place of images
     Often the best choice is not to use an image at all. CSS3 presents us
     with new tools that allow us to draw elements like background
     patterns, buttons, and icons that used to require images.
MU Adobe Camp 2013




Demo: Using CSS for graphics
MU Adobe Camp 2013




Crafting flexible media
     If you remove specific height and width values from images and
     video, you can set percentage based widths using CSS and allow
     the browser to scale the media appropriately.

     This approach is not without it’s problems, and images and video
     often require different approaches.
MU Adobe Camp 2013




Responsive image techniques
     Remove height and width properties from HTML

     Use percentage-based width values for scaling, browsers will
     automatically scale height based on aspect ratio.

     You can use min-width and max-width to set ranges for images

     By placing the image in a flexible container and setting it’s max-width to
     100% you allow the container to control the scaling

     Since scaling images up degrades image quality you need to start with the
     largest size you need

     This approach often requires mobile devices to download larger images
     than they need
MU Adobe Camp 2013




Demo: Creating responsive images
MU Adobe Camp 2013




Responsive video techniques
     When dealing with native HTML5 video, you can often use the same
     techniques as images

     When embedding video in iFrames, you’ll need to adjust techniques

     By wrapping the iFrame in a relatively positioned DIV, you can force the
     iFrame to scale along with the DIV

     To give the DIV the same aspect ratio as the video, you can use a
     percentage based bottom padding (56.25% gives you 16:9)
MU Adobe Camp 2013




Demo: Creating responsive video
MU Adobe Camp 2013




           Responsive Navigation
           Perhaps the most challenging aspect of responsive design
           is that of navigation. Large menus can be unwieldy at
           smaller screen sizes and how the user expects to interact
           with navigation can change from one device to the other.
           These problems illustrate why having a clear navigation
           strategy is crucial to the success of any responsive project.
MU Adobe Camp 2013




Responsive navigation strategies
     Always build your menus with clean, well-structured code

     Determine early on how complex your navigation will need to be

     Think carefully about how users will want to interact with your
     navigation across various contexts

     Think mobile navigation first

     Pay attention to emerging mobile and touch navigation patterns

     Realize there is not a one-size fits all solution
MU Adobe Camp 2013




Styling responsive navigation
     For simple menus, HTML and CSS alone will often suffice. By
     changing the orientation of menus for small screens you can
     often resize menus within acceptable ranges.

     Keep in mind that touch areas need to be roughly 44px x 44px,
     make sure you resize icons or menu items accordingly

     CSS Transitions can animate menu items and make it easier to
     hide and expand menu items on smaller screens. Be aware that
     hover events can cause problems on touch devices, and that
     transitions often take performance hits on mobile devices
MU Adobe Camp 2013




JavaScript and responsive navigation
     Often HTML and CSS alone will not be able to handle all of the requirements of
     responsive navigation. For many tasks you’ll need to turn to JavaScript to add
     functionality and handle changing the menu over different devices.

     Repositioning menus


     Hiding/showing menus based on screen sizes


     Adding/removing navigation elements


     Responding to touch events & screen resizing


     Replacing menus with select elements
MU Adobe Camp 2013




The problem with touch events
     The presence of touch events no longer means mobile, so you
     can’t use the presence of touch events as a way of triggering
     mobile menus. Also, Windows 8 does not support the touch
     event standard, meaning you’ll have to write separate code to
     support touch for Windows 8 devices.


     (for Windows 8 you use window.navigator.msPointerEnabled)
MU Adobe Camp 2013




Be sure to provide fallbacks
     Give users the best default experience first, and make sure that you’re
     not requiring JavaScript for menu functionality. Provide fallbacks for
     older browsers and non-supporting devices. Even if you can’t provide
     those users with an optimal experience, they still need to be able to
     access your site’s navigation.
MU Adobe Camp 2013




Demo: Creating responsive navigation
MU Adobe Camp 2013




           Taking advantage of mobile
           Responsive design should be about more than just dealing
           with screen layout. Realizing that our sites will be viewed
           across multiple devices gives us the opportunity to take
           advantage of those device’s specific capabilities. Considering
           this very early in the planning stages of the site will allow
           you to provide the best possible user experience.
MU Adobe Camp 2013




Designing for the mobile context
     Use HTML5 form elements to take advantage of mobile contexts


     Use the tel URL and SMS formatting to add phone functionality to your sites


     Providing users with home screen icons allows them to load shortcuts to your
     site directly on mobile home screens


     Using features like Geolocation and localStorage allows you to take further
     advantage of mobile functionality
MU Adobe Camp 2013




Demo: Designing for mobile
MU Adobe Camp 2013




           Managing resources
           Although you want to be device-agnostic when creating
           responsive layouts, the truth is you’ll need to account for
           mobile devices when allocating resources. Having a
           strategy in place for how to load resources efficiently for
           mobile devices is critical to good responsive design.
MU Adobe Camp 2013




Limit HTTP requests
       Multiple HTTP requests can hinder the performance of sites on
       mobile networks far more than large graphics or other assets.
       Finding ways to limit requests like using CSS Sprites and merging
       script files together is a critical part of any responsive strategy.
MU Adobe Camp 2013




Conditional resource loading

       http://www.modernizr.com/
       Allows you to check for many CSS3 and HTML5 features,
       including media queries. Using the built-in yepnope.js you can
       conditionally load resources if a media query is triggered
MU Adobe Camp 2013




Demo: Managing resources
MU Adobe Camp 2013




           Embrace the user
           Don’t expect your site to look or act the same
           across all screens and devices. Embrace the
           differences in capabilities and design towards
           effective user experiences across platforms.
MU Adobe Camp 2013




             THANK YOU
               james williamson | lynda.com
                        jwilliamson@lynda.com
                     @jameswillweb on the Twitter
                       www.simpleprimate.com

                         download these slides:
                     slideshare.net/jameswillweb

Contenu connexe

En vedette

Hooray Icon Fonts! Artifact Conference
Hooray Icon Fonts! Artifact ConferenceHooray Icon Fonts! Artifact Conference
Hooray Icon Fonts! Artifact Conferencejameswillweb
 
A Web for Everyone
A Web for EveryoneA Web for Everyone
A Web for Everyonejameswillweb
 
Optimizing Sites for Mobile Devices
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devicesjameswillweb
 
How to Use Dreamweaver cs6
How to Use Dreamweaver cs6 How to Use Dreamweaver cs6
How to Use Dreamweaver cs6 Salman Memon
 
php tutorial - By Bally Chohan
php tutorial - By Bally Chohanphp tutorial - By Bally Chohan
php tutorial - By Bally Chohanballychohanuk
 
Dreamweaver cs6 step by step
Dreamweaver cs6 step by stepDreamweaver cs6 step by step
Dreamweaver cs6 step by stepzoran Jelinek
 
Tutorial 8 - Creating Effective Web Pages
Tutorial 8 - Creating Effective Web PagesTutorial 8 - Creating Effective Web Pages
Tutorial 8 - Creating Effective Web Pagesdpd
 
Dreamweaver CS6, jQuery, PhoneGap, mobile design
Dreamweaver CS6, jQuery, PhoneGap, mobile designDreamweaver CS6, jQuery, PhoneGap, mobile design
Dreamweaver CS6, jQuery, PhoneGap, mobile designDee Sadler
 
Optimizing Sites for Mobile Devices
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devicesjameswillweb
 
Developing Modern Web Interfaces with Dreamweaver CC
Developing Modern Web Interfaces with Dreamweaver CCDeveloping Modern Web Interfaces with Dreamweaver CC
Developing Modern Web Interfaces with Dreamweaver CCjameswillweb
 
Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3Halizah Ahmad
 
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake OilCSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake Oiljameswillweb
 

En vedette (12)

Hooray Icon Fonts! Artifact Conference
Hooray Icon Fonts! Artifact ConferenceHooray Icon Fonts! Artifact Conference
Hooray Icon Fonts! Artifact Conference
 
A Web for Everyone
A Web for EveryoneA Web for Everyone
A Web for Everyone
 
Optimizing Sites for Mobile Devices
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devices
 
How to Use Dreamweaver cs6
How to Use Dreamweaver cs6 How to Use Dreamweaver cs6
How to Use Dreamweaver cs6
 
php tutorial - By Bally Chohan
php tutorial - By Bally Chohanphp tutorial - By Bally Chohan
php tutorial - By Bally Chohan
 
Dreamweaver cs6 step by step
Dreamweaver cs6 step by stepDreamweaver cs6 step by step
Dreamweaver cs6 step by step
 
Tutorial 8 - Creating Effective Web Pages
Tutorial 8 - Creating Effective Web PagesTutorial 8 - Creating Effective Web Pages
Tutorial 8 - Creating Effective Web Pages
 
Dreamweaver CS6, jQuery, PhoneGap, mobile design
Dreamweaver CS6, jQuery, PhoneGap, mobile designDreamweaver CS6, jQuery, PhoneGap, mobile design
Dreamweaver CS6, jQuery, PhoneGap, mobile design
 
Optimizing Sites for Mobile Devices
Optimizing Sites for Mobile DevicesOptimizing Sites for Mobile Devices
Optimizing Sites for Mobile Devices
 
Developing Modern Web Interfaces with Dreamweaver CC
Developing Modern Web Interfaces with Dreamweaver CCDeveloping Modern Web Interfaces with Dreamweaver CC
Developing Modern Web Interfaces with Dreamweaver CC
 
Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3Tutorial PHP and Dreamweaver CS3
Tutorial PHP and Dreamweaver CS3
 
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake OilCSS3 Media Queries: Mobile Elixir or CSS Snake Oil
CSS3 Media Queries: Mobile Elixir or CSS Snake Oil
 

Similaire à Designing Responsively with Dreamweaver CS6

How to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteHow to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteJj Jurgens
 
Responsive web design
Responsive web designResponsive web design
Responsive web designZeeshan Khan
 
Responsive web designing
Responsive web designingResponsive web designing
Responsive web designingAanand Bohara
 
Media queries and frameworks
Media queries and frameworksMedia queries and frameworks
Media queries and frameworksNicole Ryan
 
Digibury: Getting your web presence mobile ready - David Walker
Digibury: Getting your web presence mobile ready - David WalkerDigibury: Getting your web presence mobile ready - David Walker
Digibury: Getting your web presence mobile ready - David WalkerLizzie Hodgson
 
Responsive Web Design Crafting Websites for the Multi-Device World (2).pdf
Responsive Web Design Crafting Websites for the Multi-Device World (2).pdfResponsive Web Design Crafting Websites for the Multi-Device World (2).pdf
Responsive Web Design Crafting Websites for the Multi-Device World (2).pdfiSQUARE Business Solution
 
Responsive Web Designed for your communication and marketing needs
Responsive Web Designed for your communication and marketing needsResponsive Web Designed for your communication and marketing needs
Responsive Web Designed for your communication and marketing needsSEGIC
 
Intro to Responsive
Intro to ResponsiveIntro to Responsive
Intro to ResponsiveTom Elliott
 
Html 5 mobile - nitty gritty
Html 5 mobile - nitty grittyHtml 5 mobile - nitty gritty
Html 5 mobile - nitty grittyMario Noble
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web DesignTung Dang
 
Unlock the Power of Mui Breakpoints and Make Great Projects.pdf
Unlock the Power of Mui Breakpoints and Make Great Projects.pdfUnlock the Power of Mui Breakpoints and Make Great Projects.pdf
Unlock the Power of Mui Breakpoints and Make Great Projects.pdfRonDosh
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web DesignChiheb Chebbi
 
Introduction to adobe experience manager
Introduction to adobe experience managerIntroduction to adobe experience manager
Introduction to adobe experience managerNetCom Learning
 
Responsive Web Designs
Responsive Web DesignsResponsive Web Designs
Responsive Web DesignsNusrat Khanom
 
Does your website have these elements of responsive web design?
Does your website have these elements of responsive web design? Does your website have these elements of responsive web design?
Does your website have these elements of responsive web design? Experience Dynamics
 
Top 6 Web Design Trends For 2016
Top 6 Web Design Trends For 2016Top 6 Web Design Trends For 2016
Top 6 Web Design Trends For 2016Pixel Crayons
 
Progressive Enhancement
Progressive EnhancementProgressive Enhancement
Progressive EnhancementDan Sagisser
 

Similaire à Designing Responsively with Dreamweaver CS6 (20)

How to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive WebsiteHow to Project-Manage and Implement a Responsive Website
How to Project-Manage and Implement a Responsive Website
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Responsive web designing
Responsive web designingResponsive web designing
Responsive web designing
 
Media queries and frameworks
Media queries and frameworksMedia queries and frameworks
Media queries and frameworks
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Digibury: Getting your web presence mobile ready - David Walker
Digibury: Getting your web presence mobile ready - David WalkerDigibury: Getting your web presence mobile ready - David Walker
Digibury: Getting your web presence mobile ready - David Walker
 
Responsive Web Design Crafting Websites for the Multi-Device World (2).pdf
Responsive Web Design Crafting Websites for the Multi-Device World (2).pdfResponsive Web Design Crafting Websites for the Multi-Device World (2).pdf
Responsive Web Design Crafting Websites for the Multi-Device World (2).pdf
 
Responsive Web Designed for your communication and marketing needs
Responsive Web Designed for your communication and marketing needsResponsive Web Designed for your communication and marketing needs
Responsive Web Designed for your communication and marketing needs
 
Intro to Responsive
Intro to ResponsiveIntro to Responsive
Intro to Responsive
 
Html 5 mobile - nitty gritty
Html 5 mobile - nitty grittyHtml 5 mobile - nitty gritty
Html 5 mobile - nitty gritty
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Design responsively
Design responsivelyDesign responsively
Design responsively
 
Unlock the Power of Mui Breakpoints and Make Great Projects.pdf
Unlock the Power of Mui Breakpoints and Make Great Projects.pdfUnlock the Power of Mui Breakpoints and Make Great Projects.pdf
Unlock the Power of Mui Breakpoints and Make Great Projects.pdf
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
Introduction to adobe experience manager
Introduction to adobe experience managerIntroduction to adobe experience manager
Introduction to adobe experience manager
 
Responsive Web Designs
Responsive Web DesignsResponsive Web Designs
Responsive Web Designs
 
Does your website have these elements of responsive web design?
Does your website have these elements of responsive web design? Does your website have these elements of responsive web design?
Does your website have these elements of responsive web design?
 
Mobile Responsive ​ Website Designing.pdf
Mobile Responsive ​ Website Designing.pdfMobile Responsive ​ Website Designing.pdf
Mobile Responsive ​ Website Designing.pdf
 
Top 6 Web Design Trends For 2016
Top 6 Web Design Trends For 2016Top 6 Web Design Trends For 2016
Top 6 Web Design Trends For 2016
 
Progressive Enhancement
Progressive EnhancementProgressive Enhancement
Progressive Enhancement
 

Dernier

SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CANestorGamez6
 
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call GirlsCBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girlsmodelanjalisharma4
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxTusharBahuguna2
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️soniya singh
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵anilsa9823
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...home
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130Suhani Kapoor
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfAmirYakdi
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...Suhani Kapoor
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptxVanshNarang19
 
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Yantram Animation Studio Corporation
 
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...Suhani Kapoor
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxjeswinjees
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiSuhani Kapoor
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation decktbatkhuu1
 

Dernier (20)

SCRIP Lua HTTP PROGRACMACION PLC WECON CA
SCRIP Lua HTTP PROGRACMACION PLC  WECON CASCRIP Lua HTTP PROGRACMACION PLC  WECON CA
SCRIP Lua HTTP PROGRACMACION PLC WECON CA
 
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call GirlsCBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
CBD Belapur Individual Call Girls In 08976425520 Panvel Only Genuine Call Girls
 
Design Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptxDesign Inspiration for College by Slidesgo.pptx
Design Inspiration for College by Slidesgo.pptx
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
 
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service  🧵
CALL ON ➥8923113531 🔝Call Girls Kalyanpur Lucknow best Female service 🧵
 
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
young call girls in Pandav nagar 🔝 9953056974 🔝 Delhi escort Service
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
 
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
VIP Call Girls Service Mehdipatnam Hyderabad Call +91-8250192130
 
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
escort service sasti (*~Call Girls in Prasad Nagar Metro❤️9953056974
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
 
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
VIP College Call Girls Gorakhpur Bhavna 8250192130 Independent Escort Service...
 
Fashion trends before and after covid.pptx
Fashion trends before and after covid.pptxFashion trends before and after covid.pptx
Fashion trends before and after covid.pptx
 
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
Captivating Charm: Exploring Marseille's Hillside Villas with Our 3D Architec...
 
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
VIP Russian Call Girls in Gorakhpur Deepika 8250192130 Independent Escort Ser...
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Stark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptxStark Industries Marketing Plan (1).pptx
Stark Industries Marketing Plan (1).pptx
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service BhiwandiVIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
VIP Call Girls Bhiwandi Ananya 8250192130 Independent Escort Service Bhiwandi
 
Peaches App development presentation deck
Peaches App development presentation deckPeaches App development presentation deck
Peaches App development presentation deck
 

Designing Responsively with Dreamweaver CS6

  • 1. MU Adobe Camp 2013 DESIGNING RESPONSIVELY with Dreamweaver CS6 james williamson | lynda.com
  • 2. MU Adobe Camp 2013 Howdy y’all james williamson | senior author @jameswillweb on the Twitter
  • 3. MU Adobe Camp 2013 Go SEC!
  • 4. MU Adobe Camp 2013 What is Responsive Design? I mean, is it really a thing?
  • 5. MU Adobe Camp 2013 Responsive Design: Designing with multiple screen sizes and clients in mind, so that you give the best experience to the widest array of clients and user agents possible. This includes fluid layouts, fluid media, and context-sensitive design.
  • 6. MU Adobe Camp 2013 Common Responsive Design concepts Viewports The current client window is often referred to as the “Viewport.” The Viewport meta tag and the CSS @viewport rule allow us to control how devices size and initially display the viewport, which is critical for designing for mobile devices.
  • 7. MU Adobe Camp 2013 Common Responsive Design concepts Fluid Grids Layout grids that are designed to flex as screen sizes change. These are typically class-based selectors that only control layout and are defined using percentages.
  • 8. MU Adobe Camp 2013 Common Responsive Design concepts Mobile First A way of approaching design that considers the mobile screen and context first as a way of focusing content and user experience. A better experience on mobile often results in a more streamlined experience on all devices.
  • 9. MU Adobe Camp 2013 Common Responsive Design concepts Content Breakpoints As screen sizes change, the available screen real estate often results in poor fitting content, broken layouts, or unintended layout errors. Content Breakpoints indicate a screen size that necessitates some change in layout or content presentation. Rather than focusing on device screen sizes, which are constantly changing, designers should rather focus on establishing content breakpoints, modifying their designs based on these breakpoints, and letting devices display whichever breakpoint they represent.
  • 10. MU Adobe Camp 2013 Fantastic. What does that have to do with Dreamweaver?
  • 11. MU Adobe Camp 2013 Responsive Design tools in Dreamweaver Fluid Grids Media Query Support Multi-Screen Preview Responsive Live View resizing
  • 12. MU Adobe Camp 2013 Demo: Exploring responsive tools in Dreamweaver
  • 13. MU Adobe Camp 2013 Responsive Layouts Create fluid layouts that target a range of screen sizes without targeting specific devices or screen sizes. Use media queries to respond to breakpoints that are planned around when content needs to change, not when a specific size has been reached.
  • 14. MU Adobe Camp 2013 The meta viewport tag Meta viewport tags allow you to control the initial size of the viewport on mobile devices, ensuring a consistent experience <meta  name="viewport"  content="width=device-­‐width,   initial-­‐scale=1.0"> This syntax tells the device to set the viewport width to the actual device width to ensure the proper media query styles are used.
  • 15. MU Adobe Camp 2013 The @viewport rule Controlling viewport functionality is coming to CSS as well. Support is increasing, but not universal. @viewport { width: device-width; zoom: 1; } This syntax also sets the viewport width to the actual device width and sets the initial scale of the page to 100%.
  • 16. MU Adobe Camp 2013 Demo: Setting the viewport
  • 17. MU Adobe Camp 2013 Media Queries CSS Media Queries give us a way to control the application of styles based on the presence or absence of specific media features
  • 18. MU Adobe Camp 2013 Media query syntax link  rel="stylesheet"  href="desktop.css"   media="screen  and  (min-­‐width:500px)" @media  screen  and  (min-­‐width:500px)  {    //styles  go  here } Media query syntax can be applied to media attributes in link tags, or inline within an existing set of styles
  • 19. MU Adobe Camp 2013 Media features width* color* height* color-­‐index* device-­‐width* monochrome* device-­‐height* resolution* orientation scan aspect-­‐ratio* grid device-­‐aspect-­‐ratio* *accepts “min-” & “max-” prefixes
  • 20. MU Adobe Camp 2013 Content Breakpoints Content breakpoints are determined by using a fluid layout and then resizing the browser window. When the layout reaches a less than optimal state, or breaks, you assign a content breakpoint to that size. New layouts are constructed within that breakpoint, and the process continues until the desired range of screen sizes are accounted for.
  • 21. MU Adobe Camp 2013 Demo: Media queries and breakpoints
  • 22. MU Adobe Camp 2013 Fluid Layouts Fluid layouts use percentage-based widths to control the width of page elements. This allows the page layout to adapt to the screen size, regardless of how large or small the screen.
  • 23. MU Adobe Camp 2013 Fluid Layout guidelines Only the most basic layouts will work across all screen sizes You can use min and max width values to establish ranges for fluid layouts Designing for a range of screen sizes allows you to ignore specific devices or screen sizes Fixed-width assets like images and video can complicate fluid layouts by causing them to break at specific sizes
  • 24. MU Adobe Camp 2013 Fluid Grids Fluid grids are typically groups of class-based selectors that contain floats, varying percentage-based widths, and clearing properties. By creating a grid system layouts can be created by the simple process of applying class attributes to page elements.
  • 25. MU Adobe Camp 2013 Fluid Grids pros and cons Easy to use Many fluid grids already available Can reuse them over and over May add unnecessary weight Use non-semantic class names
  • 26. MU Adobe Camp 2013 Demo: Building fluid layouts
  • 27. MU Adobe Camp 2013 Responsive Media Fixed-width assets like media can be very challenging when designing responsive sites. Image or video sizes can break fluid layouts, and server requests, file size, and formats can make dealing with media in responsive designs tricky. While no definitive solution has been reached yet allowing for effortless responsive media, several techniques have evolved that allow media to work well within responsive designs.
  • 28. MU Adobe Camp 2013 Using background-images If an image is purely decorative use a background-image instead, as requests for these can be filtered through media queries and only requested when needed.
  • 29. MU Adobe Camp 2013 Using CSS Sprites Using CSS Sprites can reduce http requests and make it easier to design assets
  • 30. MU Adobe Camp 2013 Using CSS in place of images Often the best choice is not to use an image at all. CSS3 presents us with new tools that allow us to draw elements like background patterns, buttons, and icons that used to require images.
  • 31. MU Adobe Camp 2013 Demo: Using CSS for graphics
  • 32. MU Adobe Camp 2013 Crafting flexible media If you remove specific height and width values from images and video, you can set percentage based widths using CSS and allow the browser to scale the media appropriately. This approach is not without it’s problems, and images and video often require different approaches.
  • 33. MU Adobe Camp 2013 Responsive image techniques Remove height and width properties from HTML Use percentage-based width values for scaling, browsers will automatically scale height based on aspect ratio. You can use min-width and max-width to set ranges for images By placing the image in a flexible container and setting it’s max-width to 100% you allow the container to control the scaling Since scaling images up degrades image quality you need to start with the largest size you need This approach often requires mobile devices to download larger images than they need
  • 34. MU Adobe Camp 2013 Demo: Creating responsive images
  • 35. MU Adobe Camp 2013 Responsive video techniques When dealing with native HTML5 video, you can often use the same techniques as images When embedding video in iFrames, you’ll need to adjust techniques By wrapping the iFrame in a relatively positioned DIV, you can force the iFrame to scale along with the DIV To give the DIV the same aspect ratio as the video, you can use a percentage based bottom padding (56.25% gives you 16:9)
  • 36. MU Adobe Camp 2013 Demo: Creating responsive video
  • 37. MU Adobe Camp 2013 Responsive Navigation Perhaps the most challenging aspect of responsive design is that of navigation. Large menus can be unwieldy at smaller screen sizes and how the user expects to interact with navigation can change from one device to the other. These problems illustrate why having a clear navigation strategy is crucial to the success of any responsive project.
  • 38. MU Adobe Camp 2013 Responsive navigation strategies Always build your menus with clean, well-structured code Determine early on how complex your navigation will need to be Think carefully about how users will want to interact with your navigation across various contexts Think mobile navigation first Pay attention to emerging mobile and touch navigation patterns Realize there is not a one-size fits all solution
  • 39. MU Adobe Camp 2013 Styling responsive navigation For simple menus, HTML and CSS alone will often suffice. By changing the orientation of menus for small screens you can often resize menus within acceptable ranges. Keep in mind that touch areas need to be roughly 44px x 44px, make sure you resize icons or menu items accordingly CSS Transitions can animate menu items and make it easier to hide and expand menu items on smaller screens. Be aware that hover events can cause problems on touch devices, and that transitions often take performance hits on mobile devices
  • 40. MU Adobe Camp 2013 JavaScript and responsive navigation Often HTML and CSS alone will not be able to handle all of the requirements of responsive navigation. For many tasks you’ll need to turn to JavaScript to add functionality and handle changing the menu over different devices. Repositioning menus Hiding/showing menus based on screen sizes Adding/removing navigation elements Responding to touch events & screen resizing Replacing menus with select elements
  • 41. MU Adobe Camp 2013 The problem with touch events The presence of touch events no longer means mobile, so you can’t use the presence of touch events as a way of triggering mobile menus. Also, Windows 8 does not support the touch event standard, meaning you’ll have to write separate code to support touch for Windows 8 devices. (for Windows 8 you use window.navigator.msPointerEnabled)
  • 42. MU Adobe Camp 2013 Be sure to provide fallbacks Give users the best default experience first, and make sure that you’re not requiring JavaScript for menu functionality. Provide fallbacks for older browsers and non-supporting devices. Even if you can’t provide those users with an optimal experience, they still need to be able to access your site’s navigation.
  • 43. MU Adobe Camp 2013 Demo: Creating responsive navigation
  • 44. MU Adobe Camp 2013 Taking advantage of mobile Responsive design should be about more than just dealing with screen layout. Realizing that our sites will be viewed across multiple devices gives us the opportunity to take advantage of those device’s specific capabilities. Considering this very early in the planning stages of the site will allow you to provide the best possible user experience.
  • 45. MU Adobe Camp 2013 Designing for the mobile context Use HTML5 form elements to take advantage of mobile contexts Use the tel URL and SMS formatting to add phone functionality to your sites Providing users with home screen icons allows them to load shortcuts to your site directly on mobile home screens Using features like Geolocation and localStorage allows you to take further advantage of mobile functionality
  • 46. MU Adobe Camp 2013 Demo: Designing for mobile
  • 47. MU Adobe Camp 2013 Managing resources Although you want to be device-agnostic when creating responsive layouts, the truth is you’ll need to account for mobile devices when allocating resources. Having a strategy in place for how to load resources efficiently for mobile devices is critical to good responsive design.
  • 48. MU Adobe Camp 2013 Limit HTTP requests Multiple HTTP requests can hinder the performance of sites on mobile networks far more than large graphics or other assets. Finding ways to limit requests like using CSS Sprites and merging script files together is a critical part of any responsive strategy.
  • 49. MU Adobe Camp 2013 Conditional resource loading http://www.modernizr.com/ Allows you to check for many CSS3 and HTML5 features, including media queries. Using the built-in yepnope.js you can conditionally load resources if a media query is triggered
  • 50. MU Adobe Camp 2013 Demo: Managing resources
  • 51. MU Adobe Camp 2013 Embrace the user Don’t expect your site to look or act the same across all screens and devices. Embrace the differences in capabilities and design towards effective user experiences across platforms.
  • 52. MU Adobe Camp 2013 THANK YOU james williamson | lynda.com jwilliamson@lynda.com @jameswillweb on the Twitter www.simpleprimate.com download these slides: slideshare.net/jameswillweb