SlideShare une entreprise Scribd logo
1  sur  70
RESPONSIVE WEB DESIGN
    (O EN ESPAÑOL.. ALGO MENOS SEXY.. “DISEÑO WEB ADAPTABLE”)




                                                    @DARIO_BARRIO
                                           DBARRIO@EMAGISTER.COM
THE PHYSICAL ARTIFACT IS LOST
THE PHYSICAL ARTIFACT IS LOST
THE PHYSICAL ARTIFACT IS LOST
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
CONSUMIMOS INFORMACIÓN DE FORMAS MUY DIFERENTES
RESPONSIVE WEB DESIGN POR ETHAN MARCOTTE
RESPONSIVE WEB DESIGN POR ETHAN MARCOTTE
HTTP://WWW.ALISTAPART.COM/ARTICLES/RESPONSIVE-WEB-DESIGN/
SEGÚN ETHAN MARCOTTE,



RESPONSIVE WEB DESIGN ES:
SEGÚN ETHAN MARCOTTE,



    RESPONSIVE WEB DESIGN ES:



   “A FLEXIBLE GRID (WITH FLEXIBLE IMAGES)
THAT INCORPORATES MEDIA QUERIES TO CREATE A
        RESPONSIVE, ADAPTIVE LAYOUT.”
SEGÚN EL PROPIO ETHAN
ESTÁ INSPIRADO EN EL CONCEPTO DE “RESPONSIVE ARCHITECTURE”
RESPONSIVE ARCHITECTURE
RESPONSIVE ARCHITECTURE
LOS INGREDIENTES
FLEXIBLE GRID
FLEXIBLE GRID BASED LAYOUT
LA SIGUIENTE DIAPOSITIVA CONTIENE
           MATEMÁTICAS
“THE ALGORITHM”
“THE ALGORITHM”




TARGET ÷ CONTEXT = RESULT
FLEXIBLE GRID BASED LAYOUT
“THE ALGORITHM”

              TARGET ÷ CONTEXT = RESULT


620 ÷ 1024PX = 0.60546875 (HEADER)

360 ÷ 1024PX = 0.3515625 (NAV)

730 ÷ 1024PX = 0.712890625 (ARTICLE)

250 ÷ 1024PX = 0.244240625 (SIDEBAR)
“THE ALGORITHM”


HEADER {
   WIDTH: 60.546875%    /* 620 / 1024 */
}

NAV {
    WIDTH: 35.15625%   /* 360 / 1024 */
}
FLEXIBLE IMAGES
FLEXIBLE IMAGES / MEDIA

•   WEB IS NOT JUST TEXT
FLEXIBLE IMAGES / MEDIA

•   WEB IS NOT JUST TEXT

•   FACEBOOK

•   FLICKR

•   YOUTUBE

•   VIMEO

•   MORE MORE MORE.....
LA REGLA “PATA NEGRA”



IMG {
  MAX-WIDTH: 100%;
}
LA REGLA “PATA NEGRA”



IMG, EMBED, OBJECT, VIDEO {
  MAX-WIDTH: 100%;
}
MEDIA QUERIES
MEDIA TYPES



<LINK REL="STYLESHEET" HREF="GLOBAL.CSS" MEDIA="ALL" />

<LINK REL="STYLESHEET" HREF="MAIN.CSS" MEDIA="SCREEN" />

<LINK REL="STYLESHEET" HREF="PAPER.CSS" MEDIA="PRINT" />
CHAU MEDIA TYPES..

¡ HOLA MEDIA QUERIES !
CSS3 MEDIA QUERIES

•   ANATOMÍA DE UNA MEDIA QUERY:




    @MEDIA SCREEN AND (MIN-WIDTH: 1024PX) {

        BODY {

            FONT-SIZE: 100%;

        }

    }
EL TAMAÑO IMPORTA
EL TAMAÑO IMPORTA



•   CADA DISPOSITIVO TIENE UN “DISPLAY AREA” Y UN
    “RENDERING SURFACE”.

•   LA VENTANA DEL NAVEGADOR ES LA “DISPLAY
    AREA”; LA PANTALLA COMPLETA REPRESENTA LA
    “RENDERING SURFACE”.
EL TAMAÑO IMPORTA
EL TAMAÑO IMPORTA



•   ESTO QUIERE DECIR QUE SI TU LAPTOP TIENE 1200PX
    DE ANCHO DE PANTALLA Y EL BROWSER ESTÁ
    ABIERTO AL 50% DE LA PANTALLA, ENTONCES..
EL TAMAÑO IMPORTA



•   ESTO QUIERE DECIR QUE SI TU LAPTOP TIENE 1200PX
    DE ANCHO DE PANTALLA Y EL BROWSER ESTÁ
    ABIERTO AL 50% DE LA PANTALLA, ENTONCES..

•   RENDERING SURFACE = 1200PX
EL TAMAÑO IMPORTA



•   ESTO QUIERE DECIR QUE SI TU LAPTOP TIENE 1200PX
    DE ANCHO DE PANTALLA Y EL BROWSER ESTÁ
    ABIERTO AL 50% DE LA PANTALLA, ENTONCES..

•   RENDERING SURFACE = 1200PX

•   DISPLAY AREA (VIEWPORT) = 600PX
IMPORTANCIA DE LAS MEDIA QUERIES
IMPORTANCIA DE LAS MEDIA QUERIES
IMPORTANCIA DE LAS MEDIA QUERIES
IMPORTANCIA DE LAS MEDIA QUERIES
IDENTIFICAR PUNTOS DE RUPTURA



@media screen and (max-width: 1050px) {}


@media screen and (max-width: 980px) {}


@media screen and (max-width: 640px) {}


@media screen and (max-width: 320px) {}
¡¡EL CONTENIDO PRIMERO!!
OTRO EJEMPLO: THINK VITAMIN
OTRO EJEMPLO: THINK VITAMIN
OTRO EJEMPLO: THINK VITAMIN
OTRO EJEMPLO: THINK VITAMIN
OTRO EJEMPLO: THINK VITAMIN
¡PROBAR EJEMPLOS!

HTTP://BOSTONGLOBE.COM/


HTTP://WWW.INFORMATIONARCHITECTS.JP/EN/


HTTP://OWLTASTIC.COM/


HTTP://HANDCRAFTEDPIXELS.CO.UK/


HTTP://THINKVITAMIN.COM/


HTTP://SIMPLEBITS.COM/
GRACIAS. PREGUNTAS?




“THE WAY IS SHAPED BY USE,
BUT THEN THE SHAPE IS LOST.
DO NOT HOLD FAST TO SHAPES BUT
LET SENSATION FLOW INTO THE
WORLD AS A RIVER COURSES DOWN
TO THE SEA.—DAO DE JING, SECTION
32, “SHAPES”

Contenu connexe

Similaire à Responsive Web Design

Edición de bolsillo: CSS3, HTML5 y JS para la web móvil
Edición de bolsillo: CSS3, HTML5 y JS para la web móvilEdición de bolsillo: CSS3, HTML5 y JS para la web móvil
Edición de bolsillo: CSS3, HTML5 y JS para la web móvil
Marta Armada
 
Desarrollo web multidispositivo
Desarrollo web multidispositivoDesarrollo web multidispositivo
Desarrollo web multidispositivo
dianagtr
 
Hi tech entretenimiento
Hi tech  entretenimientoHi tech  entretenimiento
Hi tech entretenimiento
Alejandro Eiji
 

Similaire à Responsive Web Design (20)

ACCESIBILIDAD WEB la discapacidad & “mi relación con ella”
ACCESIBILIDAD WEB 		la discapacidad & “mi relación con ella”ACCESIBILIDAD WEB 		la discapacidad & “mi relación con ella”
ACCESIBILIDAD WEB la discapacidad & “mi relación con ella”
 
Presentacion Iniciación al Responsive Web Design
Presentacion Iniciación al Responsive Web DesignPresentacion Iniciación al Responsive Web Design
Presentacion Iniciación al Responsive Web Design
 
Front end basics - Responsive Web Design
Front end basics - Responsive Web DesignFront end basics - Responsive Web Design
Front end basics - Responsive Web Design
 
Brochure A&ATIC 2018
Brochure A&ATIC 2018Brochure A&ATIC 2018
Brochure A&ATIC 2018
 
Web móvil ¿inclusiva y accesible?
Web móvil ¿inclusiva y accesible?Web móvil ¿inclusiva y accesible?
Web móvil ¿inclusiva y accesible?
 
Web móvil: ¿inclusiva y accesible?
Web móvil: ¿inclusiva y accesible?Web móvil: ¿inclusiva y accesible?
Web móvil: ¿inclusiva y accesible?
 
Diseñando la web móvil con HTML5 y CSS3
Diseñando la web móvil con HTML5 y CSS3Diseñando la web móvil con HTML5 y CSS3
Diseñando la web móvil con HTML5 y CSS3
 
Edición de bolsillo: CSS3, HTML5 y JS para la web móvil
Edición de bolsillo: CSS3, HTML5 y JS para la web móvilEdición de bolsillo: CSS3, HTML5 y JS para la web móvil
Edición de bolsillo: CSS3, HTML5 y JS para la web móvil
 
La Web 2 0 Hoy y en el Futuro Jaime Creixems
La Web 2 0  Hoy y en el Futuro   Jaime CreixemsLa Web 2 0  Hoy y en el Futuro   Jaime Creixems
La Web 2 0 Hoy y en el Futuro Jaime Creixems
 
Mobile Primero en Playa Valley 2011
Mobile Primero en Playa Valley 2011Mobile Primero en Playa Valley 2011
Mobile Primero en Playa Valley 2011
 
Responsive Web Design: reinventando el diseño web
Responsive Web Design: reinventando el diseño webResponsive Web Design: reinventando el diseño web
Responsive Web Design: reinventando el diseño web
 
Semana 3 Responsive Design y Media Queries
Semana 3   Responsive Design y Media QueriesSemana 3   Responsive Design y Media Queries
Semana 3 Responsive Design y Media Queries
 
Responsive web design - frontenders Valencia
Responsive web design - frontenders ValenciaResponsive web design - frontenders Valencia
Responsive web design - frontenders Valencia
 
Desarrollo web multidispositivo
Desarrollo web multidispositivoDesarrollo web multidispositivo
Desarrollo web multidispositivo
 
Base de datos aby
Base de datos abyBase de datos aby
Base de datos aby
 
Adobe flash-cs6
Adobe flash-cs6Adobe flash-cs6
Adobe flash-cs6
 
Historia y evolución del diseño de interfaces visuales
Historia y evolución del diseño de interfaces visualesHistoria y evolución del diseño de interfaces visuales
Historia y evolución del diseño de interfaces visuales
 
HTML5, CSS3 y móviles
HTML5, CSS3 y móvilesHTML5, CSS3 y móviles
HTML5, CSS3 y móviles
 
Hi tech entretenimiento
Hi tech  entretenimientoHi tech  entretenimiento
Hi tech entretenimiento
 
Las buenas prácticas oficiales para aplicaciones Symfony
Las buenas prácticas oficiales para aplicaciones SymfonyLas buenas prácticas oficiales para aplicaciones Symfony
Las buenas prácticas oficiales para aplicaciones Symfony
 

Dernier

PLAN DE MANTENIMIENTO DE SISTEMAS DE AGUA CHONTAYOC.docx
PLAN DE MANTENIMIENTO DE SISTEMAS DE AGUA CHONTAYOC.docxPLAN DE MANTENIMIENTO DE SISTEMAS DE AGUA CHONTAYOC.docx
PLAN DE MANTENIMIENTO DE SISTEMAS DE AGUA CHONTAYOC.docx
Leo Florez
 
secuencias de los figuras de cuadros y rectangulos
secuencias de los figuras de cuadros y rectangulossecuencias de los figuras de cuadros y rectangulos
secuencias de los figuras de cuadros y rectangulos
RosarioLloglla
 
PLANTILLA UNAD JJAJJJJJWRBJHGURGERRTERTRTRY
PLANTILLA UNAD JJAJJJJJWRBJHGURGERRTERTRTRYPLANTILLA UNAD JJAJJJJJWRBJHGURGERRTERTRTRY
PLANTILLA UNAD JJAJJJJJWRBJHGURGERRTERTRTRY
karendaza9506
 
ATENCION INTEGRAL DEL ADULTO Y ADULTO MAYOR.pptx
ATENCION INTEGRAL DEL ADULTO Y ADULTO MAYOR.pptxATENCION INTEGRAL DEL ADULTO Y ADULTO MAYOR.pptx
ATENCION INTEGRAL DEL ADULTO Y ADULTO MAYOR.pptx
EdisonCondesoDelgado1
 
GRUPO 1.pptx problemas oportunidades objetivos
GRUPO 1.pptx problemas oportunidades objetivosGRUPO 1.pptx problemas oportunidades objetivos
GRUPO 1.pptx problemas oportunidades objetivos
CristianGmez22034
 
tema ilustrado 9 el inicio del reinado de juan carlos I
tema ilustrado 9 el inicio del reinado de juan carlos Itema ilustrado 9 el inicio del reinado de juan carlos I
tema ilustrado 9 el inicio del reinado de juan carlos I
irenecarmona12
 

Dernier (20)

PLAN DE MANTENIMIENTO DE SISTEMAS DE AGUA CHONTAYOC.docx
PLAN DE MANTENIMIENTO DE SISTEMAS DE AGUA CHONTAYOC.docxPLAN DE MANTENIMIENTO DE SISTEMAS DE AGUA CHONTAYOC.docx
PLAN DE MANTENIMIENTO DE SISTEMAS DE AGUA CHONTAYOC.docx
 
CLASE 2 PSICOTERAPIA COGNITIVO CONDUCTUAL.pdf
CLASE 2 PSICOTERAPIA COGNITIVO CONDUCTUAL.pdfCLASE 2 PSICOTERAPIA COGNITIVO CONDUCTUAL.pdf
CLASE 2 PSICOTERAPIA COGNITIVO CONDUCTUAL.pdf
 
Arquitectos del Movimiento Moderno Pt. 2.pdf
Arquitectos del Movimiento Moderno Pt. 2.pdfArquitectos del Movimiento Moderno Pt. 2.pdf
Arquitectos del Movimiento Moderno Pt. 2.pdf
 
Apuntes de criterios estrcuturales, calculo de trabes y contratrabes de concr...
Apuntes de criterios estrcuturales, calculo de trabes y contratrabes de concr...Apuntes de criterios estrcuturales, calculo de trabes y contratrabes de concr...
Apuntes de criterios estrcuturales, calculo de trabes y contratrabes de concr...
 
414414508-Diseno-de-Coberturas-Metalicas.pptx
414414508-Diseno-de-Coberturas-Metalicas.pptx414414508-Diseno-de-Coberturas-Metalicas.pptx
414414508-Diseno-de-Coberturas-Metalicas.pptx
 
GROPUIS Y WRIGHT DIPOSITIVA ARQUITECTURA DISEÑO MODERNIDAD
GROPUIS Y WRIGHT DIPOSITIVA ARQUITECTURA DISEÑO MODERNIDADGROPUIS Y WRIGHT DIPOSITIVA ARQUITECTURA DISEÑO MODERNIDAD
GROPUIS Y WRIGHT DIPOSITIVA ARQUITECTURA DISEÑO MODERNIDAD
 
Tríptico-en-homenaje-por-el-día-de-la-madre.pdf
Tríptico-en-homenaje-por-el-día-de-la-madre.pdfTríptico-en-homenaje-por-el-día-de-la-madre.pdf
Tríptico-en-homenaje-por-el-día-de-la-madre.pdf
 
Anexo Nivel 3 Ficha Lectura pptjsbdkks
Anexo  Nivel 3 Ficha  Lectura pptjsbdkksAnexo  Nivel 3 Ficha  Lectura pptjsbdkks
Anexo Nivel 3 Ficha Lectura pptjsbdkks
 
Triptico de los derechos humanos pe señorees jaja
Triptico de los derechos humanos pe señorees jajaTriptico de los derechos humanos pe señorees jaja
Triptico de los derechos humanos pe señorees jaja
 
Slaimen Barakat - SLIDESHARE TAREA 3.pdf
Slaimen Barakat - SLIDESHARE TAREA 3.pdfSlaimen Barakat - SLIDESHARE TAREA 3.pdf
Slaimen Barakat - SLIDESHARE TAREA 3.pdf
 
secuencias de los figuras de cuadros y rectangulos
secuencias de los figuras de cuadros y rectangulossecuencias de los figuras de cuadros y rectangulos
secuencias de los figuras de cuadros y rectangulos
 
PLANTILLA UNAD JJAJJJJJWRBJHGURGERRTERTRTRY
PLANTILLA UNAD JJAJJJJJWRBJHGURGERRTERTRTRYPLANTILLA UNAD JJAJJJJJWRBJHGURGERRTERTRTRY
PLANTILLA UNAD JJAJJJJJWRBJHGURGERRTERTRTRY
 
ATENCION INTEGRAL DEL ADULTO Y ADULTO MAYOR.pptx
ATENCION INTEGRAL DEL ADULTO Y ADULTO MAYOR.pptxATENCION INTEGRAL DEL ADULTO Y ADULTO MAYOR.pptx
ATENCION INTEGRAL DEL ADULTO Y ADULTO MAYOR.pptx
 
Torre agbar analisis arquitectonico.....
Torre agbar analisis arquitectonico.....Torre agbar analisis arquitectonico.....
Torre agbar analisis arquitectonico.....
 
Portafolio Santiago Agudelo Duran 2024 -30
Portafolio Santiago Agudelo Duran 2024 -30Portafolio Santiago Agudelo Duran 2024 -30
Portafolio Santiago Agudelo Duran 2024 -30
 
POESÍA ERÓTICA DEL SIGLO XVIII - SERIA Y CARNAL
POESÍA ERÓTICA DEL SIGLO XVIII - SERIA Y CARNALPOESÍA ERÓTICA DEL SIGLO XVIII - SERIA Y CARNAL
POESÍA ERÓTICA DEL SIGLO XVIII - SERIA Y CARNAL
 
CATALOGO 2024 DIA DE LA MADRE, presentación.pdf
CATALOGO 2024 DIA DE LA MADRE, presentación.pdfCATALOGO 2024 DIA DE LA MADRE, presentación.pdf
CATALOGO 2024 DIA DE LA MADRE, presentación.pdf
 
GRUPO 1.pptx problemas oportunidades objetivos
GRUPO 1.pptx problemas oportunidades objetivosGRUPO 1.pptx problemas oportunidades objetivos
GRUPO 1.pptx problemas oportunidades objetivos
 
tema ilustrado 9 el inicio del reinado de juan carlos I
tema ilustrado 9 el inicio del reinado de juan carlos Itema ilustrado 9 el inicio del reinado de juan carlos I
tema ilustrado 9 el inicio del reinado de juan carlos I
 
Fundamentos de la Ergonomía y sus características principales
Fundamentos de la Ergonomía y sus características principalesFundamentos de la Ergonomía y sus características principales
Fundamentos de la Ergonomía y sus características principales
 

Responsive Web Design

Notes de l'éditeur

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. SO WHAT GOES INTO DEVELOPING A RESPONSIVE WEB DESIGN?\n\nNot as complicated as that looks.\n
  31. \n
  32. 1024 px #container auto margin to center, some box shadow\n\n620px Header\n\n360px navigation\n\n730px content\n\n250px side bar \n\nnumerous padding &amp; margins\n
  33. The first thing that we&amp;#x2019;re going to be doing is creating a flexible Grid based layout.\n\nLet&amp;#x2019;s take a look at our example file. http://dev.justinavery.me/design/fixed/\n
  34. You will see this a lot.\n\nIf you choose responsive design You will live and breathe this algorithm\n
  35. 1024 px #container auto margin to center, some box shadow\n\n620px Header\n\n360px navigation\n\n730px content\n\n250px side bar \n\nnumerous padding &amp; margins\n
  36. You will see this a lot.\n\nIf you choose responsive design You will live and breathe this algorithm\n\n360px navigation\n\n730px content\n\n250px side bar \n
  37. You will see this a lot.\n\nIf you choose responsive design You will live and breathe this algorithm\n\n360px navigation\n\n730px content\n\n250px side bar \n
  38. \n
  39. \n
  40. \n
  41. \n
  42. \n
  43. \n
  44. \n
  45. this rule allows our image to size to it&apos;s maximum size, or the width of the containing element... Which ever comes first.\n\nRemove the fixed width provided width= height=. this might fault.\n
  46. this rule allows our image to size to it&apos;s maximum size, or the width of the containing element... Which ever comes first.\n\nRemove the fixed width provided width= height=. this might fault.\n
  47. \n
  48. \n
  49. The phones started getting smarter.\n\nNot much support for &amp;#x201C;handheld&amp;#x201D;, so phone browsers sent &amp;#x201C;screen&amp;#x201D; headers by default\n
  50. Think of a media query like a test for your browser. When a browser reads your stylesheet, the \n\nBrowser asks two questions: \n\nfirst, if it belongs to the screen media type; and if it does, \n\nif the browser&amp;#x2019;s viewport is at least 1024 pixels wide. \n\nIf the browser meets both of those criteria, then the styles enclosed within the query are rendered; if not, the browser happily disregards the styles, and continues on its merry way.\n
  51. Here are two quick guidelines that helped me sort it out:\n\nI won&amp;#x2019;t get into iphone 4 rendering more pixels from a display area than is available on the rendering surface though\n
  52. Here are two quick guidelines that helped me sort it out:\n\nI won&amp;#x2019;t get into iphone 4 rendering more pixels from a display area than is available on the rendering surface though\n
  53. Visit this link for a list of queries that you can call with CSS3.\n
  54. Visit this link for a list of queries that you can call with CSS3.\n
  55. Visit this link for a list of queries that you can call with CSS3.\n
  56. Visit this link for a list of queries that you can call with CSS3.\n
  57. Visit this link for a list of queries that you can call with CSS3.\n
  58. Visit this link for a list of queries that you can call with CSS3.\n
  59. Visit this link for a list of queries that you can call with CSS3.\n
  60. \n
  61. Visit this link for a list of queries that you can call with CSS3.\n
  62. \n
  63. \n
  64. \n
  65. \n
  66. \n
  67. \n
  68. \n