SlideShare une entreprise Scribd logo
1  sur  39
Télécharger pour lire hors ligne
Responsive Web Design


                        Daum communications
                           FT 개발 1팀 정승희
jQuery mobile test devices
Responsive Web Design
MAY 25, 2010 by Ethan Marcotte




                                 http://www.alistapart.com/articles/responsive-web-design/
The ingredients

  A flexible, grid-based layout,
  Flexible images and media, and
  Media queries, a module from the CSS3 specification
RWD: The ingredients

 A flexible, grid-based layout,
  Flexible images and media, and
  Media queries, a module from the CSS3 specification
Fluid Grids
MARCH 3, 2009 by Ethan Marcotte




                                  http://www.alistapart.com/articles/fluidgrids/
Fluid Grids
       is
Flexible Layout
Flexible Layout
RWD: The ingredients

  A flexible, grid-based layout,
 Flexible images and media, and
  Media queries, a module from the CSS3 specification
Flexible images and media




                   img,
                   embed,
                   object,
                   video {
                        max-width: 100%;
                        _width: 100%;        /* IE6 */
                        _overflow: hidden;   /* IE6 */
                   }
RWD: The ingredients

  A flexible, grid-based layout,
  Flexible images and media, and
 Media queries, a module from the CSS3
   specification
media queries

 Types            Features

    all             width
    screen          height
                     device-width
    print
                     device-height
    projection      orientation
    tv              aspect-ratio
    handheld        device-aspect-ratio
    …               color
                     color-index
                     …
media queries in action
Responsive Layout
then, well done?
TECHNICAL CHALLENGES
PROGRESSIVE ENHANCEMENT
An escalator can never break:
it can only become stairs.
full desktop site + media queries = mobile site?
Mobile is differenet!




                http://www.slideshare.net/bryanrieger/going-mobile-a-pragmatic-look-at-mobile-design
media queries === silver bullets?



              full desktop site
            + media queries
           Sorry, not supported!
             = mobile site
Rethink!



            flexible mobile site
           + media queries

           = full desktop site
progressive enhancement with Javascript




       $(document).ready(function() {
         $.get(“slides.html”, function(data) {
           $(“.welcome .slides”)
              .append(data)
              .wrapInner('<div class=“slidewrap”>
                <div id=“welcome-slides” class=“slider”>
                </div></div>')
              .find(“.slidewrap”)
              .append(sNav)
              .carousel({
                slide: '.figure'
               });
            });
progressive enhancement with Javascript

                          Modernizr is
                          a small JavaScript library
                          that detects the availability of
                          native implementations for
                          next-generation web
                          technologies.

       Modernizr.load([
          {
             test : Modernizr.websockets && window.JSON,
             nope : 'functional-polyfills.js‘,
             both : [ 'app.js', 'extra.js' ],
             complete : function () {
                myApp.init();
             }
           }
       ]);
Hiding image tags or CSS background images
using css media query
RESPONSIVE WEB DESIGN
IN ACTION
1. Determining key breakpoints!




                                       + features and capabilities
                                        screen size?
                                        local storage?
                                        touch event?
                                        application cache?
                                       …

                  http://martymoo.com/blog/2011/08/26/mobile-first-responsive-design-and-me/
Accessible on any browsers
HTML
 CSS   older browser, mobile browser…
Accessible on any browsers
  HTML       + javascript
   CSS
Javascript




             Accessible on any browsers
  HTML       + javascript
  CSS3
             + media queries
Javascript
             +…
complete development & test




               Build It!
  HTML
  CSS3
Javascript




 features and capabilities
   screen size?
   local storage?
   touch event?
   application cache?
   …
features and capabilities




  HTML                   HTML         HTML
  CSS3                   CSS3         CSS3
Javascript             Javascript   Javascript
features and capabilities
                            http://www.daum.net
    screen size?
    local storage?
    touch event?
    application cache?
    …
server side




                                                   HTML
                what      get adaptive resources
              kind of…?                                     CSS
                                                    java
                                                   script
Devon 2011-f-1  반응형 웹 디자인
Devon 2011-f-1  반응형 웹 디자인

Contenu connexe

En vedette

평범한 에이전시 팀장의 일반적인 퍼블리싱 이야기
평범한 에이전시 팀장의 일반적인 퍼블리싱 이야기평범한 에이전시 팀장의 일반적인 퍼블리싱 이야기
평범한 에이전시 팀장의 일반적인 퍼블리싱 이야기
clearboth
 

En vedette (8)

2016웹트렌드와 반응형웹
2016웹트렌드와 반응형웹2016웹트렌드와 반응형웹
2016웹트렌드와 반응형웹
 
평범한 에이전시 팀장의 일반적인 퍼블리싱 이야기
평범한 에이전시 팀장의 일반적인 퍼블리싱 이야기평범한 에이전시 팀장의 일반적인 퍼블리싱 이야기
평범한 에이전시 팀장의 일반적인 퍼블리싱 이야기
 
Ux Camp Seoul 2014 - 레고에서 발견하는 좋은 제품의 사소함
Ux Camp Seoul 2014 - 레고에서 발견하는 좋은 제품의 사소함Ux Camp Seoul 2014 - 레고에서 발견하는 좋은 제품의 사소함
Ux Camp Seoul 2014 - 레고에서 발견하는 좋은 제품의 사소함
 
[제5회] 9x년생 개발자 모임
[제5회] 9x년생 개발자 모임[제5회] 9x년생 개발자 모임
[제5회] 9x년생 개발자 모임
 
HCI Principles for Mobile Devices
HCI Principles for Mobile DevicesHCI Principles for Mobile Devices
HCI Principles for Mobile Devices
 
애자일 스크럼과 JIRA
애자일 스크럼과 JIRA 애자일 스크럼과 JIRA
애자일 스크럼과 JIRA
 
How to Teach UX Design
How to Teach UX DesignHow to Teach UX Design
How to Teach UX Design
 
O2O 스타트업에서 한 개발자의 이야기
O2O 스타트업에서 한 개발자의 이야기O2O 스타트업에서 한 개발자의 이야기
O2O 스타트업에서 한 개발자의 이야기
 

Similaire à Devon 2011-f-1 반응형 웹 디자인

Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Esri Nederland
 
Web app and more
Web app and moreWeb app and more
Web app and more
faming su
 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
Razorfish
 
HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1
James Pearce
 

Similaire à Devon 2011-f-1 반응형 웹 디자인 (20)

Pinkoi Mobile Web
Pinkoi Mobile WebPinkoi Mobile Web
Pinkoi Mobile Web
 
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
 
Responsive Enhancement
Responsive EnhancementResponsive Enhancement
Responsive Enhancement
 
Responsive Web Design
Responsive Web DesignResponsive Web Design
Responsive Web Design
 
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
 
The Enterprise Dilemma: Native vs. Web
The Enterprise Dilemma: Native vs. WebThe Enterprise Dilemma: Native vs. Web
The Enterprise Dilemma: Native vs. Web
 
Responsive websites. Toolbox
Responsive websites. ToolboxResponsive websites. Toolbox
Responsive websites. Toolbox
 
Web Apps and more
Web Apps and moreWeb Apps and more
Web Apps and more
 
Web app and more
Web app and moreWeb app and more
Web app and more
 
Responsive Websites
Responsive WebsitesResponsive Websites
Responsive Websites
 
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
 
Intro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS featuresIntro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS features
 
Developing for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic WelterlinDeveloping for Responsive Design - Frederic Welterlin
Developing for Responsive Design - Frederic Welterlin
 
Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010Making your site mobile-friendly - DevCSI Reading 21.07.2010
Making your site mobile-friendly - DevCSI Reading 21.07.2010
 
Windows 8 Pure Imagination - 2012-11-24 - Getting your HTML5 game Windows 8 r...
Windows 8 Pure Imagination - 2012-11-24 - Getting your HTML5 game Windows 8 r...Windows 8 Pure Imagination - 2012-11-24 - Getting your HTML5 game Windows 8 r...
Windows 8 Pure Imagination - 2012-11-24 - Getting your HTML5 game Windows 8 r...
 
Media queries
Media queriesMedia queries
Media queries
 
HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1HTML5 and the dawn of rich mobile web applications pt 1
HTML5 and the dawn of rich mobile web applications pt 1
 
Stocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible frameworkStocktwits & Responsive Web Design, social network meets flexible framework
Stocktwits & Responsive Web Design, social network meets flexible framework
 
Html5 Whats around the bend
Html5 Whats around the bendHtml5 Whats around the bend
Html5 Whats around the bend
 
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
 

Plus de Daum DNA

Daum devday 13 [bap]
Daum devday 13  [bap]Daum devday 13  [bap]
Daum devday 13 [bap]
Daum DNA
 
Daum 키노트 | Devon 2012
Daum 키노트 | Devon 2012Daum 키노트 | Devon 2012
Daum 키노트 | Devon 2012
Daum DNA
 

Plus de Daum DNA (20)

Daum의 개방형 기술 전략 및 자바 기술 로드맵(2007)
Daum의 개방형 기술 전략 및 자바 기술 로드맵(2007)Daum의 개방형 기술 전략 및 자바 기술 로드맵(2007)
Daum의 개방형 기술 전략 및 자바 기술 로드맵(2007)
 
Daum OAuth 2.0
Daum OAuth 2.0Daum OAuth 2.0
Daum OAuth 2.0
 
Daum 음성인식 API (김한샘)
Daum 음성인식 API (김한샘)Daum 음성인식 API (김한샘)
Daum 음성인식 API (김한샘)
 
Daum 검색/지도 API (이정주)
Daum 검색/지도 API (이정주)Daum 검색/지도 API (이정주)
Daum 검색/지도 API (이정주)
 
오픈 API 활용방법(Daum 사례 중심, 윤석찬)
오픈 API 활용방법(Daum 사례 중심, 윤석찬)오픈 API 활용방법(Daum 사례 중심, 윤석찬)
오픈 API 활용방법(Daum 사례 중심, 윤석찬)
 
Daum 티스토리 API (천정환)
Daum 티스토리 API (천정환)Daum 티스토리 API (천정환)
Daum 티스토리 API (천정환)
 
Daum 로그인 API (함태윤)
Daum 로그인 API (함태윤)Daum 로그인 API (함태윤)
Daum 로그인 API (함태윤)
 
FT직군의 현재와 미래 - 홍윤표
FT직군의 현재와 미래 - 홍윤표FT직군의 현재와 미래 - 홍윤표
FT직군의 현재와 미래 - 홍윤표
 
웹접근성과 장애인 차별 금지법 - 장성민
웹접근성과 장애인 차별 금지법 - 장성민웹접근성과 장애인 차별 금지법 - 장성민
웹접근성과 장애인 차별 금지법 - 장성민
 
반응형 웹 디자인은 만능인가? - 신현석
반응형 웹 디자인은 만능인가? - 신현석반응형 웹 디자인은 만능인가? - 신현석
반응형 웹 디자인은 만능인가? - 신현석
 
Daum devday 13 [bap]
Daum devday 13  [bap]Daum devday 13  [bap]
Daum devday 13 [bap]
 
Daum DevDay 13-힐링이 필요해
Daum DevDay 13-힐링이 필요해Daum DevDay 13-힐링이 필요해
Daum DevDay 13-힐링이 필요해
 
Daum DevDay 13 - 마음의 소리
Daum DevDay 13 - 마음의 소리Daum DevDay 13 - 마음의 소리
Daum DevDay 13 - 마음의 소리
 
Daum DevDay 13 - OpenBrace
Daum DevDay 13 - OpenBraceDaum DevDay 13 - OpenBrace
Daum DevDay 13 - OpenBrace
 
Daum DevDay 13 - Ogangjang
Daum DevDay 13 - OgangjangDaum DevDay 13 - Ogangjang
Daum DevDay 13 - Ogangjang
 
Daum DevDay 13 - Mook
Daum DevDay 13 - MookDaum DevDay 13 - Mook
Daum DevDay 13 - Mook
 
Daum DevDay 13 - Moonlight
Daum DevDay 13 - MoonlightDaum DevDay 13 - Moonlight
Daum DevDay 13 - Moonlight
 
Daum DevDay 13 - In-N-Out
Daum DevDay 13 - In-N-OutDaum DevDay 13 - In-N-Out
Daum DevDay 13 - In-N-Out
 
Daum DevDay 13 - i-DF
Daum DevDay 13 - i-DFDaum DevDay 13 - i-DF
Daum DevDay 13 - i-DF
 
Daum 키노트 | Devon 2012
Daum 키노트 | Devon 2012Daum 키노트 | Devon 2012
Daum 키노트 | Devon 2012
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Devon 2011-f-1 반응형 웹 디자인

  • 1. Responsive Web Design Daum communications FT 개발 1팀 정승희
  • 2.
  • 4.
  • 5.
  • 6.
  • 7. Responsive Web Design MAY 25, 2010 by Ethan Marcotte http://www.alistapart.com/articles/responsive-web-design/
  • 8. The ingredients  A flexible, grid-based layout,  Flexible images and media, and  Media queries, a module from the CSS3 specification
  • 9. RWD: The ingredients A flexible, grid-based layout,  Flexible images and media, and  Media queries, a module from the CSS3 specification
  • 10. Fluid Grids MARCH 3, 2009 by Ethan Marcotte http://www.alistapart.com/articles/fluidgrids/
  • 11. Fluid Grids is Flexible Layout
  • 13. RWD: The ingredients  A flexible, grid-based layout, Flexible images and media, and  Media queries, a module from the CSS3 specification
  • 14. Flexible images and media img, embed, object, video { max-width: 100%; _width: 100%; /* IE6 */ _overflow: hidden; /* IE6 */ }
  • 15. RWD: The ingredients  A flexible, grid-based layout,  Flexible images and media, and Media queries, a module from the CSS3 specification
  • 16. media queries Types Features  all  width  screen  height  device-width  print  device-height  projection  orientation  tv  aspect-ratio  handheld  device-aspect-ratio  …  color  color-index  …
  • 22. An escalator can never break: it can only become stairs.
  • 23. full desktop site + media queries = mobile site?
  • 24. Mobile is differenet! http://www.slideshare.net/bryanrieger/going-mobile-a-pragmatic-look-at-mobile-design
  • 25. media queries === silver bullets? full desktop site + media queries Sorry, not supported! = mobile site
  • 26. Rethink! flexible mobile site + media queries = full desktop site
  • 27. progressive enhancement with Javascript $(document).ready(function() { $.get(“slides.html”, function(data) { $(“.welcome .slides”) .append(data) .wrapInner('<div class=“slidewrap”> <div id=“welcome-slides” class=“slider”> </div></div>') .find(“.slidewrap”) .append(sNav) .carousel({ slide: '.figure' }); });
  • 28. progressive enhancement with Javascript Modernizr is a small JavaScript library that detects the availability of native implementations for next-generation web technologies. Modernizr.load([ { test : Modernizr.websockets && window.JSON, nope : 'functional-polyfills.js‘, both : [ 'app.js', 'extra.js' ], complete : function () { myApp.init(); } } ]);
  • 29. Hiding image tags or CSS background images using css media query
  • 31. 1. Determining key breakpoints! + features and capabilities  screen size?  local storage?  touch event?  application cache? … http://martymoo.com/blog/2011/08/26/mobile-first-responsive-design-and-me/
  • 32. Accessible on any browsers HTML CSS older browser, mobile browser…
  • 33. Accessible on any browsers HTML + javascript CSS Javascript Accessible on any browsers HTML + javascript CSS3 + media queries Javascript +…
  • 34. complete development & test Build It! HTML CSS3 Javascript features and capabilities screen size? local storage? touch event? application cache? …
  • 35. features and capabilities HTML HTML HTML CSS3 CSS3 CSS3 Javascript Javascript Javascript
  • 36. features and capabilities http://www.daum.net screen size? local storage? touch event? application cache? …
  • 37. server side HTML what get adaptive resources kind of…? CSS java script