Curso responsive web design - Redradix School

200
RESPONSIVE WEB DESIGN

description

Documentación utilizada para el curso de Responsive Web Design

Transcript of Curso responsive web design - Redradix School

Page 1: Curso responsive web design  - Redradix School

RESPONSIVE WEB DESIGN

Page 2: Curso responsive web design  - Redradix School

2

UN POCO DE HISTORIA

Page 3: Curso responsive web design  - Redradix School

3

1440GUTENBERG INVENTALA IMPRENTA MODERNA

Page 4: Curso responsive web design  - Redradix School

4

BERNERS-LEE PROPONEEL LENGUAJE HTML

1991

Page 5: Curso responsive web design  - Redradix School

20

5

PAPEL

600

DIGITAL

Page 6: Curso responsive web design  - Redradix School

6

CAMBIOS

RGB

PX

COLOR

FUENTES

DIMENSIONES

CMYK

MM

Page 7: Curso responsive web design  - Redradix School

7

EL CAMBIO

PAPEL LIENZO PANTALLA

Page 8: Curso responsive web design  - Redradix School

8

DIMENSIONES CERRADASEN LAS QUE DEFINIR Y

ESTRUCTURAR EL CONTENIDO

Page 9: Curso responsive web design  - Redradix School

9

PRIMERA DECISIÓN

.wrapper{ width: 960px; margin: 0 auto;}

Page 10: Curso responsive web design  - Redradix School

10

1024X768

20082009201020112012

40%

32%

24%

18%

14%

Page 11: Curso responsive web design  - Redradix School

11

Page 12: Curso responsive web design  - Redradix School

12

Page 13: Curso responsive web design  - Redradix School

13@globalmoxie

Page 14: Curso responsive web design  - Redradix School

14@brad_frost

Page 15: Curso responsive web design  - Redradix School

15@brad_frost

Page 16: Curso responsive web design  - Redradix School

16@brad_frost

Page 17: Curso responsive web design  - Redradix School

20

17

PAPEL

600

DIGITAL

Page 18: Curso responsive web design  - Redradix School

18

ADAPTARNOS AL NUEVO MEDIOEMPLEANDO

TÉCNICAS VIEJAS

Page 19: Curso responsive web design  - Redradix School

19

ADAPTARNOS A TODOS LOS MEDIOS

EMPLEANDOTÉCNICAS NUEVAS

Page 20: Curso responsive web design  - Redradix School

20

A LIST APART

@rwd

@beep

Page 21: Curso responsive web design  - Redradix School

RESPONSIVE WEB DESIGN

Page 22: Curso responsive web design  - Redradix School

22

RWD

ESTRUCTURA FLUIDA

MEDIOS FLEXIBLES

FUENTES

MEDIAQUERIES

VIEWPORT

Page 23: Curso responsive web design  - Redradix School

23

RWD

ESTRUCTURA FLUIDA

MEDIOS FLEXIBLES

FUENTES

MEDIAQUERIES

VIEWPORT

CSS

CSS

CSS

CSS

HTML

Page 24: Curso responsive web design  - Redradix School

24

OLVÍDATE DELPIXEL

Y PIENSA ENPROPORCIONES

Page 25: Curso responsive web design  - Redradix School

25

“IT'S NOT ENOUGH TO SIMPLY

MODIFY THE LAYOUT BY MOVING

STUFF AROUND ON THE SCREEN

AND ENLARGING OR DIMINISHING

PARTICULAR DESIGN ELEMENTS”

JACOB NIELSEN

Page 26: Curso responsive web design  - Redradix School

26

SMASHING MAGAZINE

Page 27: Curso responsive web design  - Redradix School

27

RWD

ADAPTIVE

Page 28: Curso responsive web design  - Redradix School

28

DESKTOP FIRST

Page 29: Curso responsive web design  - Redradix School

29

MOBILE FIRST

Page 30: Curso responsive web design  - Redradix School

30

PROGRESSIVEENHANCEMENT

HMTL

CSS JS

Page 31: Curso responsive web design  - Redradix School

31

http://www.besquare.me/session/cutting-the-mustard/

https://speakerdeck.com/tmaslen/cutting-the-mustard-future-friendly-browser-support

Page 32: Curso responsive web design  - Redradix School

32

“IF SOMEONE SAYS THERE'S

ONLY ONE TRUE WAY

OF WORKING AND

DESIGNING ONLINE,

LOOK AT THEM FUNNY”

ETHAN MARCOTTE

Page 33: Curso responsive web design  - Redradix School

33

DEMO

Page 34: Curso responsive web design  - Redradix School

RESPONSIVE WEB DESIGN

Page 35: Curso responsive web design  - Redradix School

2

RWD

ESTRUCTURA FLUIDA

MEDIOS FLEXIBLES

FUENTES

MEDIAQUERIES

VIEWPORT

CSS

CSS

CSS

CSS

HTML

Page 36: Curso responsive web design  - Redradix School

CSS 3

ESTRUCTURA FLUIDAUSO DE PORCENTAJES

% SOBRE ANCHO DEL PADRE

AFECTA AL EJE VERTICAL*

fluid_layout_01.html

Page 37: Curso responsive web design  - Redradix School

CSS 4

ESTRUCTURA FLUIDAMODELO DE CAJA

MARGIN + BORDER + PADDING

BOX-SIZING: BORDER-BOX

fluid_layout_02.html

Page 38: Curso responsive web design  - Redradix School

CSS 5

ESTRUCTURA FLUIDAUSO DE PIXEL

SOLO PARA DETALLES

ELEMENTOS FIJOS

Page 39: Curso responsive web design  - Redradix School

6

ATENCIÓN!

A CONTINUACIÓN SE VA A MOSTRAR

UNA FÓRMULA MATEMÁTICA.

SI SIENTE MAREOS O NÁUSEAS,

APARTE LA MIRADA

HASTA NUEVO AVISO.

Page 40: Curso responsive web design  - Redradix School

7

ESTRUCTURA FLUIDA

ELEMENTO / CONTEXTO = PER (*100)

Page 41: Curso responsive web design  - Redradix School

CSS 8

ESTRUCTURA FLUIDAFRAMEWORKS

BASADOS EN SASS

EXTERNOS: BOURBON, INUIT

PROPIOS

grids_demo.html

Page 42: Curso responsive web design  - Redradix School

9

PORCENTAJESHORIZONTALES

EMVERTICALES

BUENAS PRÁCTICAS

Page 43: Curso responsive web design  - Redradix School

CSS 10

MEDIOS FLEXIBLESETIQUETA <IMG>

MAX-WIDTH: 100%;

WIDTH: 100%;

HEIGHT: AUTO;

fluid_media_01.html

Page 44: Curso responsive web design  - Redradix School
Page 45: Curso responsive web design  - Redradix School

CSS 12

FUENTES EMUNIDAD DE MEDIDA RELATIVA

1em = 16px

SE HEREDA

AFECTA A PADDING Y MARGIN

fluid_typeface_01.html

Page 46: Curso responsive web design  - Redradix School

CSS 13

FUENTES EMUNIDAD DE MEDIDA RELATIVA

FONT-SIZE: 1.3125em (21px)

PROPORCIONES

Page 47: Curso responsive web design  - Redradix School

CSS 14

MEDIA QUERIESCAMBIAR LA DISPOSICIÓN

@media screen and ( condición )

min-width (PA)

max-width (GD)

media_queries_01.html

Page 48: Curso responsive web design  - Redradix School

CSS 15

MEDIA QUERIESUNIDADES DE MEDIDA

@media ( min-width: 36em )

Page 49: Curso responsive web design  - Redradix School

CSS 16

MEDIA QUERIESMULTIPLES ESCENARIOS

@media ( orientation: portrait )

orientation, device-aspect-ratio,

scan, device-pixel-ratio

media_queries_03.html

Page 50: Curso responsive web design  - Redradix School

CSS 17

MEDIA QUERIESCONCATENACIÓN

@media ( orientation: portrait )

and (min-width:42em)

Page 51: Curso responsive web design  - Redradix School

CSS 18

MEDIA QUERIESSIN ATACAR A DISPOSITIVOS

EL CONTENIDO DICTA EL

PUNTO DE CORTE

(BREAKPOINT)

http://screensiz.es

Page 52: Curso responsive web design  - Redradix School

HTML 19

VIEWPORT<meta name="viewport"

content="width=device-width,

initial-scale=1">

min-scale=1, max-scale=1, user-scalable=no

Page 53: Curso responsive web design  - Redradix School

20

RWD

ESTRUCTURA FLUIDA

MEDIOS FLEXIBLES

FUENTES

MEDIAQUERIES

VIEWPORT

CSS

CSS

CSS

CSS

HTML

Page 54: Curso responsive web design  - Redradix School

MOBILE FIRST

Page 55: Curso responsive web design  - Redradix School

DESKTOP FIRST

Page 56: Curso responsive web design  - Redradix School

DESKTOP FIRSTVENTAJAS

LO CONOCEMOS

MODERNIZAR SIN REHACER

Page 57: Curso responsive web design  - Redradix School

DESKTOP FIRSTDESVENTAJAS

MÁS ESFUERZO (HTML Y CSS)

TIEMPOS DE CARGA

OCULTACIÓN DE CONTENIDOS

Page 58: Curso responsive web design  - Redradix School

MOBILE FIRST

Page 59: Curso responsive web design  - Redradix School

MOBILE FIRSTDESVENTAJAS

NO LO CONOCEMOS

TAMAÑO DE PANTALLA

VELOCIDAD DE CONEXIÓN

MODOS DE USO (CONTEXTO)

Page 60: Curso responsive web design  - Redradix School

CONVERTIR LOS INCONVENIENTES

ENVENTAJAS

Page 61: Curso responsive web design  - Redradix School

MOBILE FIRSTDESVENTAJAS

TAMAÑO DE PANTALLA

VELOCIDAD DE CONEXIÓN

MODOS DE USO (CONTEXTO)

Page 62: Curso responsive web design  - Redradix School

MOBILE FIRSTDESVENTAJAS

TAMAÑO DE PANTALLA CONTENIDO

VELOCIDAD DE CONEXIÓN RAPIDEZ

MODOS DE USO (CONTEXTO) UX

Page 63: Curso responsive web design  - Redradix School

10

CONTENIDOPOCO ESPACIO = IMPRESCINDIBLE

NO SUPERFLUO

COMUNICACIÓN MÁS DIRECTA

LEGIBILIDAD

Page 64: Curso responsive web design  - Redradix School

11

DEATH TO BULLSHIT

Page 65: Curso responsive web design  - Redradix School

12

VELOCIDAD DE CARGA

“THE WEB SHOULD BE FAST” GOOGLE

Page 66: Curso responsive web design  - Redradix School

13

VELOCIDAD DE CARGAELIMINAR REDIRECCIONES

MINIMIZAR PETICIONES

CSS (SPRITES, CSS3)

FONTFACE

COMPACTAR RECURSOS

Page 67: Curso responsive web design  - Redradix School

14

CONTEXTODESKTOP

ATENCIÓN ELEVADA

PANTALLA GRANDE

CONEXIÓN RÁPIDA

POSICIÓN ESTÁTICA

Page 68: Curso responsive web design  - Redradix School

15

CONTEXTOMOVIL

POCA ATENCIÓN

PANTALLA PEQUEÑA

CONEXIÓN LENTA

POSICIÓN DINÁMICA

Page 69: Curso responsive web design  - Redradix School

16

CONTEXTOMOVIL

UN OJO, UN DEDO

INPUT TÁCTIL

SENSORES

Page 70: Curso responsive web design  - Redradix School

17

CONTEXTO

1 OJO, UN DEDO

INPUT TÁCTIL

SENSORES

DISEÑO VISUAL

UX

PERSONALIZACIÓN

Page 71: Curso responsive web design  - Redradix School

18

DIMENSIONES

APPLE

MICROSOFT

44PX

34PX

Page 72: Curso responsive web design  - Redradix School

19

GESTOS

TAP DOBLE TAP

Page 73: Curso responsive web design  - Redradix School

20

GESTOS

SWIPE FAST SWIPE

Page 74: Curso responsive web design  - Redradix School

21

GESTOS

PINCH SPREAD

Page 75: Curso responsive web design  - Redradix School

22

GESTOS

LOS GESTOS SON LOS

ATAJOS DE TECLADO

EN DISPOSITIVOS TÁCTILES

Page 76: Curso responsive web design  - Redradix School

23

INPUT TÁCTILNUI

EL CONTENIDO ES LA UI

ELIMINAMOS ABSTRACCIONES

CURVA DE APRENDIZAJE

REDUCIR SUPERFLUOS

Page 77: Curso responsive web design  - Redradix School

24

SENSORESACELERÓMETRO, GIROSCOPIO,

GEOLOCALIZACIÓN, GESTOS,

ORIENTACIÓN DE PANTALLA,

VIDEO, AUDIO, CONECTIVIDAD...

Page 78: Curso responsive web design  - Redradix School

HTML 5

Page 79: Curso responsive web design  - Redradix School

2

NOVEDADESDECLARACIÓN

NUEVAS ETIQUETAS

NUEVOS ATRIBUTOS

REGLAS

JS APIs

Page 80: Curso responsive web design  - Redradix School

DECLARACIÓN<!DOCTYPE HTML>

HTML Y PUNTO

NUESTRA RESPONSABILIDAD

EL NAVEGADOR CONFÍA

3

Page 81: Curso responsive web design  - Redradix School

ETIQUETASSEMÁNTICAS Y ESTRUCTURALES

DEFINEN ESTRUCTURA

AFECTAN AL OUTLINE

DIV PARA DECORACIÓN

4

Page 82: Curso responsive web design  - Redradix School

ETIQUETASSEMÁNTICAS Y ESTRUCTURALES

ARTICLE, ASIDE, FIGURE,

FIGCAPTION, FOOTER, HEADER,

HGROUP, NAV, SECTION, TIME,

AUDIO, VIDEO, CANVAS,

MAIN?, PICTURE? 5

Page 83: Curso responsive web design  - Redradix School

ETIQUETASSECTION

CONTENIDO GENÉRICO

ESTRUCTURADO

ARTICLE, ASIDE, NAV6

Page 84: Curso responsive web design  - Redradix School

ETIQUETASARTICLE

CONTENIDO ESTRUCTURAL

DISTRIBUIBLE DE MANERA

INDEPENDIENTE

7article_01.html

Page 85: Curso responsive web design  - Redradix School

ETIQUETASASIDE

CONTENIDO SECUNDARIO

RELACIONADO A ELEMENTO

8aside_01.html

Page 86: Curso responsive web design  - Redradix School

ETIQUETASNAV

SECCIÓN RELATIVA A ENLACES

DENTRO DEL DOCUMENTO O DE

LA PÁGINA

9nav_01.html

Page 87: Curso responsive web design  - Redradix School

ETIQUETASFIGURE

SECCIÓN DE CONTENIDO VISUAL

MULTIPLES MEDIOS

10figure_01.html

Page 88: Curso responsive web design  - Redradix School

ETIQUETASFIGCAPTION

LEYENDA O PIE RELATIVO AL

CONTENIDO VISUAL DE FIGURE

UNICO POR FIGCAPTION

PUEDE CONTENER SEMÁNTICA11figure_01.html

Page 89: Curso responsive web design  - Redradix School

ETIQUETASHEADER

CONTENIDO INTRODUCTORIO

ELEMENTOS NAVEGACIÓN

SUELE CONTENER H

12header_01.html

Page 90: Curso responsive web design  - Redradix School

ETIQUETASFOOTER

CONTENIDO SECUNDARIO

NO PRESCINDIBLE

13footer_01.html

Page 91: Curso responsive web design  - Redradix School

14

LA SEMÁNTICADE LAS ETIQUETAS

NO DEFINE SU POSICIÓN

EN EL LAYOUT

Page 92: Curso responsive web design  - Redradix School

ETIQUETASTIME

CONTENIDO RELATIVO A TIEMPO

HORAS, SEMANAS, AÑOS...

CONTEXTO ESCRITO

15time_01.html

Page 93: Curso responsive web design  - Redradix School

ETIQUETASVIDEO & AUDIO

NATIVO, SIN PLUGIN FLASH

USABILIDAD

ATRIBUTOS ESPECÍFICOS

FALLBACK 16video_01.html

Page 94: Curso responsive web design  - Redradix School

ETIQUETASCANVAS

DEPENDIENTE DE JS

DINÁMICOS / INTERACTIVOS

JUEGOS

17canvas_01.html

Page 95: Curso responsive web design  - Redradix School

ATRIBUTOSMÁS ESPECÍFICOS

FUNCIONALES -> UX

18

Page 96: Curso responsive web design  - Redradix School

ATRIBUTOSFORMULARIOS

EMAIL, TEL, NUMBER, URL,

SEARCH, COLOR, DATE, RANGE

AUTOFOCUS, REQUIRED, MAX,

MIN, PLACEHOLDER 19

Page 97: Curso responsive web design  - Redradix School

REGLASMAYOR Y MEJOR SEMÁNTICA

CIERRE DE ETIQUETAS

ANIDACIÓN

ELIMINAR REDUNDANCIA

20

Page 98: Curso responsive web design  - Redradix School

JS APIS

21

COMPLEJIDAD EN CLIENTE

PERSONALIZANDO EXPERIENCIA

MAYOR CONTROL

Page 99: Curso responsive web design  - Redradix School

JS APISDRAG AND DROP, HISTORY,

STORAGE, FULLSCREEN,

GETUSERMEDIA, BATTERY,

CONTENTEDITABLE...

22

Page 100: Curso responsive web design  - Redradix School

CSS 3

Page 101: Curso responsive web design  - Redradix School

2

NOVEDADES

DESCARGA DE GRÁFICOS

CONDICIONALES

PRESENTACIÓN (MÁS Y MEJOR)

CAMBIANTES

PREFIJOS PROPIETARIOS

Page 102: Curso responsive web design  - Redradix School

CSS3

MÚLTIPLES FONDOS

EJE Z PROXIMIDAD

TODAS LAS REGLAS

3background_01.html

Page 103: Curso responsive web design  - Redradix School

CSS3

BACKGROUND-SIZE

COVER

CONTAIN

% & PX

4background_02.html

Page 104: Curso responsive web design  - Redradix School

CSS3

BORDER-RADIUS

% & PX

TL, TR, BR, BL

5border_01.html

Page 105: Curso responsive web design  - Redradix School

CSS3

BOX-SHADOW

OFFSET X OFFSET Y BLUR

[SPREAD] COLOR [INSET]

6boxshadow_01.html

Page 106: Curso responsive web design  - Redradix School

CSS3

COLOR

RGB

RGBA

HSL

TRANSPARENT7color_01.html

Page 107: Curso responsive web design  - Redradix School

CSS3

FONT-FACE

ESTANDARIZACIÓN

EOT, SVG, TTF, WOFF

TYPEKIT, GOOGLE FONTS

ICONOS!8fontface_01.html

Page 108: Curso responsive web design  - Redradix School

CSS3

DEGRADADOS

SINTAXIS VARIABLE

ES BACKGROUND-IMAGE

FALLBACK

9gradient_01.html

Page 109: Curso responsive web design  - Redradix School

CSS3

MEDIA QUERIES

EM

MIN-WIDTH (MOBILE FIRST)

POSIBILIDADES

10media_queries_03.html

Page 110: Curso responsive web design  - Redradix School

CSS3

MÚLTIPLES COLUMNAS

COLUMNS

COLUMN-GAP

11columns_01.html

Page 111: Curso responsive web design  - Redradix School

CSS3

OPACITY

ESTANDAR

0 A 1

12

Page 112: Curso responsive web design  - Redradix School

CSS3

POINTER-EVENTS

AUTO/NONE

ELIMINAMOS FUNCIONALIDAD

SIN EMPLEAR JS13

Page 113: Curso responsive web design  - Redradix School

CSS3

TEXT-OVERFLOW

CLIP

ELLIPSIS

“...”

14textoverflow_01.html

Page 114: Curso responsive web design  - Redradix School

CSS3

TEXT-SHADOW

OFFSET X OFFSET Y BLUR

COLOR

15textshadow_01.html

Page 115: Curso responsive web design  - Redradix School

PSEUDOSELECTORES

:after

:before

Page 116: Curso responsive web design  - Redradix School

CSS3

TRANSFORMACIONES 2D

TRANSLATE, SKEW,

ROTATE, SCALE

TRANSFORM-ORIGIN

17transform2D_01.html

Page 117: Curso responsive web design  - Redradix School

CSS3

TRANSFORMACIONES 3D

PERSPECTIVE (DEPTH)

TRANSFORM-STYLE: PRESERVE-3D

TRANSITION

18transform3D_01.html

Page 118: Curso responsive web design  - Redradix School

TRANSICIONES

PROPERTY (ALL), DURATION

TIMING-FUNCTION, DELAY

CSS3

19

Page 119: Curso responsive web design  - Redradix School

ANIMACIONES

ANIMATION

KEYFRAMES

CSS3

20

Page 120: Curso responsive web design  - Redradix School

ANIMATION ANIMACIONES

DELAY, DIRECTION, DURATION

ITERATION-COUNT, NAME

PLAY-STATE, FILL-MODE,

TIMING-FUNCTION

CSS3

21

Page 121: Curso responsive web design  - Redradix School

KEYFRAMES ANIMACIONES

DIRECTRIZ @

FROM, TO (SIMPLES)

POSICIÓN EN EL TIEMPO %

CSS3

22

Page 122: Curso responsive web design  - Redradix School

23

BUENAS PRÁCTICAS

FALLBACK

MODERNIZR.JS

REQUIRE.JS

PREFIJOS PROPIETARIOS

ANIMACIÓN POR CLASES

Page 123: Curso responsive web design  - Redradix School

S SSAC

Page 124: Curso responsive web design  - Redradix School

2

PREPROCESOCAPA DE ABSTRACCIÓN

SEPARACIÓN: DEV - PROD

LENGUAJE DE PROGRAMACIÓN

ESCALABILIDAD

TIME SAVER

Page 125: Curso responsive web design  - Redradix School

3

HERRAMIENTAS

CODEKIT PREPROS

Page 126: Curso responsive web design  - Redradix School

SASSVARIABLES

$COLOR : #32CBFF

$PADDING: 1em

OPERADORES Y MÉTODOS

4

Page 127: Curso responsive web design  - Redradix School

SASSANIDACIÓN

SELECTORES DESCENDENTES

MEDIA QUERIES

5

Page 128: Curso responsive web design  - Redradix School

SASSESTRUCTURA

ESCALABILIDAD

ORGANIZACIÓN

@IMPORT

6

Page 129: Curso responsive web design  - Redradix School

SASSMIXINS FUNCIONES

@MIXIN DECLARACIÓN

@INCLUDE LLAMADA

ACEPTAN PARÁMETROS

7

Page 130: Curso responsive web design  - Redradix School

SASSEXTEND CLASES

@EXTEND .REGLA

COMPILA SELECTORES MÚLTIPLES

8

Page 131: Curso responsive web design  - Redradix School

9

MIXIN vs EXTEND

.module{ background: #fff; color: #444; }

.main_module{ @extend .module; min-height: 3em; }

.sidebar_module{ @extend .module; min-height: 2em; }

.module, .main_module, .sidebar_module{ background: #fff; color: #444; }

.main_module{ min-height: 3em; }

.sidebar_module{ min-height: 2em; }

@mixin module{ background: #fff; color: #444; }

.main_module{ @include module; min-height: 3em; }

.sidebar_module{ @include module; min-height: 2em; }

.main_module{ background: #fff; color: #444; min-height: 3em; }

.sidebar_module{ background: #fff; color: #444; min-height: 2em; }

Page 132: Curso responsive web design  - Redradix School

SASSSENTENCIAS

@IF

@FOR

@EACH

@WHILE10

Page 133: Curso responsive web design  - Redradix School

SASSMÉTODOS

COLOR

NUMBER

LIST

11

Page 134: Curso responsive web design  - Redradix School

SASSCOLOR MÉTODOS

RGBA, LIGHTEN, DARKEN,

INVERT, GRAYSCALE,

DESATURATE, ALPHA

12

Page 135: Curso responsive web design  - Redradix School

SASSNUMBER MÉTODOS

PERCENTAGE, ROUND, CEIL,

FLOOR, ABS

13

Page 136: Curso responsive web design  - Redradix School

SASSLIST MÉTODOS

LENGTH, NTH, JOIN, APPEND,

INDEX

14

Page 137: Curso responsive web design  - Redradix School

15

SASS APIhttp://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html

Page 138: Curso responsive web design  - Redradix School

ATOMIC DESIGN

@brad_frost

Page 139: Curso responsive web design  - Redradix School

2

SISTEMAS DE DISEÑO

GUIAS DE ESTILO

COMPONENTES

FRAMEWORKS

ATOMIC DESIGN

Page 140: Curso responsive web design  - Redradix School

GUIAS DE ESTILO

MODULARIDAD

TIPOGRAFÍAS

COLORES

REJILLA

ELEMENTOS3

Page 141: Curso responsive web design  - Redradix School

COMPONENTES

INVENTARIO

ESTILO VISUAL

PERSONALIZACIÓN

UI

BIBLIOTECA DE RECURSOS4

Page 142: Curso responsive web design  - Redradix School

FRAMEWORKS

INVENTARIO

FOUNDATION

BOOTSTRAP

INUIT MOLA!

5

Page 143: Curso responsive web design  - Redradix School

6

“TINY BOOTSTRAPS,

FOR EVERY CLIENT”

DAVE RUPERT

Page 144: Curso responsive web design  - Redradix School

7

“RESPONSIVE DELIVERABLES SHOULD LOOK A LOT LIKE

FULLY-FUNCTIONING BOOTSTRAP-STYLE SYSTEMS

CUSTOM TAILORED FOR YOUR CLIENT’S NEEDS”

DAVE RUPERT

Page 145: Curso responsive web design  - Redradix School

8

TOMEMOS UN FRAMEWORK

COMO PUNTO DE PARTIDA

Page 146: Curso responsive web design  - Redradix School

FRAMEWORKS

VENTAJAS

FÁCIL DE PROBAR

WORKFLOW DEFINIDO

SINTAXIS SIMILAR

FUENTE DE APRENDIZAJE9

Page 147: Curso responsive web design  - Redradix School

FRAMEWORKS

DESVENTAJAS

CONVENCIONES AJENAS

GLOBALES

IMPERSONALIZABLES

INCOMPATIBILIDADES10

Page 148: Curso responsive web design  - Redradix School

11

“RESPONSIVE DELIVERABLES SHOULD LOOK A LOT LIKE

FULLY-FUNCTIONING BOOTSTRAP-STYLE SYSTEMS

CUSTOM TAILORED FOR YOUR CLIENT’S NEEDS”

DAVE RUPERT

Page 149: Curso responsive web design  - Redradix School

12

CREEMOS NUESTRO PROPIO

FRAMEWORK

Page 150: Curso responsive web design  - Redradix School

13

ATOMIC DESIGN

Page 151: Curso responsive web design  - Redradix School

ATOMIC DESIGN

14

ÁTOMOS MOLÉCULAS ORGANISMOS PLANTILLAS PÁGINAS

Page 152: Curso responsive web design  - Redradix School

ÁTOMOS

15

ÁTOMOS MOLÉCULAS ORGANISMOS PLANTILLAS PÁGINAS

Page 153: Curso responsive web design  - Redradix School

ÁTOMOS

ELEMENTOS BÁSICOS ETIQUETAS

ABSTRACCIÓN

NO SEGMENTABLES

POCO ÚTILES EN SI MISMOS

FÁCIL MANIPULACIÓN

16

Page 154: Curso responsive web design  - Redradix School

MOLÉCULAS

17

ÁTOMOS MOLÉCULAS ORGANISMOS PLANTILLAS PÁGINAS

Page 155: Curso responsive web design  - Redradix School

MOLÉCULAS

GRUPO DE ÁTOMOS UNIDO

MÁS ESPECÍFICOS

PUEDEN REPETIRSE

SON LOS HUESOS DEL ESQUELETO

ESCALABILIDAD

18

Page 156: Curso responsive web design  - Redradix School

ORGANISMOS

19

ÁTOMOS MOLÉCULAS ORGANISMOS PLANTILLAS PÁGINAS

Page 157: Curso responsive web design  - Redradix School

ORGANISMOS

COMPUESTOS POR MOLÉCULAS

ENTIDAD PROPIA

REUSABLES

ESCALABLES

PERSONALIZABLES

20

Page 158: Curso responsive web design  - Redradix School

PLANTILLAS

21

ÁTOMOS MOLÉCULAS ORGANISMOS PLANTILLAS PÁGINAS

Page 159: Curso responsive web design  - Redradix School

PLANTILLAS

WIREFRAMES

DOCUMENTO HTML

MUY CONCRETO

VISIBILIDAD CLIENTE=DECISIONES

FUTURIBLE PROYECTO FINAL

22

Page 160: Curso responsive web design  - Redradix School

PÁGINAS

23

ÁTOMOS MOLÉCULAS ORGANISMOS PLANTILLAS PÁGINAS

Page 161: Curso responsive web design  - Redradix School

PÁGINAS

INSTANCIAS ESPECÍFICA

CONTENIDO FINAL

PROCESO DE TESTING

PROYECTO FINAL

24

Page 162: Curso responsive web design  - Redradix School

ATOMIC DESIGN

25

ÁTOMOS MOLÉCULAS ORGANISMOS PLANTILLAS PÁGINAS

Page 163: Curso responsive web design  - Redradix School

ATOMIC DESIGN

26

ÁTOMOS MOLÉCULAS ORGANISMOS PLANTILLAS PÁGINAS

ETIQUETAS CLASES SECCIONES WIREFRAMES VISTAS

Page 164: Curso responsive web design  - Redradix School

ATOMIC DESIGN

METODOLOGÍA

SISTEMA DE DISEÑO EFICAZ

TRANSVERSAL

CONSTRUCTIVO

27

Page 165: Curso responsive web design  - Redradix School

28

HERRAMIENTASY LENGUAJES

Page 166: Curso responsive web design  - Redradix School

29

PHP STYLUS COMPASS CODEKIT HAMMER LESS SASS EMMET GIT JADE

HAML SUBLIME INCLUDE BOURBON JQUERY

MODERNIZR POLYFILLS

Page 167: Curso responsive web design  - Redradix School

RESPONSIVEIMAGES

Page 168: Curso responsive web design  - Redradix School

EL COMIENZO

2

IMG

{

MAX-WIDTH: 100%;

}

Page 169: Curso responsive web design  - Redradix School

PROBLEMAS

3

RENDIMIENTO

PESO

ENCUADRE

Page 170: Curso responsive web design  - Redradix School

FACTORES

4

ENCUADRE

TIEMPOS DE CARGA

SEMÁNTICA

TECNOLOGÍA HDPI

Page 171: Curso responsive web design  - Redradix School

5

LO IDEAL

Page 172: Curso responsive web design  - Redradix School

SOLUCIONES

6

PICTURE

SIMILAR A VIDEO

JS

SRCSET

SOPORTE W3C

Page 173: Curso responsive web design  - Redradix School

7

<picture> <source media="(min-width: 45em)" src="large.jpg"> <source media="(min-width: 18em)" src="medium.jpg"> <source src="small.jpg"> <img src="small.jpg" alt=""> <p>Accessible text</p></picture>

<picture width="500" height="500"> <source media="(min-width: 45em)" srcset="large1.jpg 1x, large2.jpg 2x"> <source media="(min-width: 18em)" srcset="medium1.jpg 1x, medium2.jpg 2x"> <source srcset="small1.jpg 1x, small2.jpg 2x"> <img src="small1.jpg" alt=""> <p>Accessible text</p></picture>

PICTURE

Page 174: Curso responsive web design  - Redradix School

SOLUCIONES

8

CARGA POSTERIOR

MOBILE FIRST

JS

HDPI

PERSONALIZABLE

Page 175: Curso responsive web design  - Redradix School

9

<img class=”responsive-image” src="small.jpg">

if ( layout == “medium”){

replaceImages(‘medium’);}else if ( layout == “large”){

replaceImages(‘large’);}

CARGA POSTERIOR

Page 176: Curso responsive web design  - Redradix School

SOLUCIONES

10

COMPRESSIVE IMAGES

ALTA CALIDAD FUENTE

PHOTOSHOP

IMÁGENES DE FONDO

Page 177: Curso responsive web design  - Redradix School

COMPRESORES

11

HTTP://PNGMINI.COM/

HTTP://IMAGEOPTIM.COM

HTTP://TINYPNG.ORG

HTTP://JPEGMINI.COM

Page 178: Curso responsive web design  - Redradix School

AMPLIANDOLA

EXPERIENCIA

Page 179: Curso responsive web design  - Redradix School

PUNTO DE PARTIDA

2

MOBILE FIRST

INVENTARIO DE CONTENIDOS

ESTRATEGIA DE CONTENIDOS

JAVASCRIPT

Page 180: Curso responsive web design  - Redradix School

METODOLOGÍAS

3

DEGRADACIÓN ELEGANTE

VS

AMPLIACIÓN PROGRESIVA

Page 181: Curso responsive web design  - Redradix School

HACIA ABAJO

4

MODERNIZR

POLYFILLS

COMENTARIOS CONDICIONALES

CSS HACKS

Page 182: Curso responsive web design  - Redradix School

HACIA ABAJO

5

MODERNIZR

CSS

YEP / NOPE

TOUCH

Page 183: Curso responsive web design  - Redradix School

HACIA ABAJO

6

POLYFILLS

JS PLUGINS

SHIV / SHIM

Page 184: Curso responsive web design  - Redradix School

HACIA ABAJO

7

COMENTARIOS CONDICIONALES

<!--[if IE]> ... <![endif]-->

lt, gt, lte, gte, !, |, &

Page 185: Curso responsive web design  - Redradix School

HACIA ABAJO

8

CSS HACKS

* html p { margin: 1em; }

p { _margin: 1em; }

p { *margin: 1em; }

<IE7

<IE8

<IE9

Page 186: Curso responsive web design  - Redradix School

HACIA ARRIBA

9

CUTTING THE MUSTARD

AJAX

Page 187: Curso responsive web design  - Redradix School

10

CUTTING THE MUSTARD

BBC

EXPERIENCIA BASE

EXPERIENCIA PREMIUM

HACIA ARRIBA

Page 188: Curso responsive web design  - Redradix School

if ( 'querySelector' in document &&

'localStorage' in window &&

'addEventListener' in window)

{

}

CUT THE MUSTARD!

Page 189: Curso responsive web design  - Redradix School

12

IE9+

FIREFOX 3.5+

OPERA 9+

SAFARI 4+

CHROME 1+

IPHONE IOS1+

IPAD IOS1+

ANDROID PHONE 2.1+

ANDROID TABLETS 2.1+

BLACKBERRY OS6+

WINDOWS 7.5+

MOBILE FIREFOX

OPERA MOBILE

NAVEGADORES

Page 190: Curso responsive web design  - Redradix School

13

IE8-

BLACKBERRY OS5-

NOKIA S60 V6-

NOKIA S40

ALL OTHER SYMBIAN VARIANTS

WINDOWS 7 PHONE (PRE-MANGO)

NAVEGADORES??

Page 191: Curso responsive web design  - Redradix School

if ( 'querySelector' in document &&

'localStorage' in window &&

Array.prototype.forEach)

{}

14

MEJOR JS

Page 192: Curso responsive web design  - Redradix School

var lista = document.querySelectorAll('.trabajo');

[].forEach.call(lista, function (trabajo)

{

trabajo.addEventListener('click', loquesea)

});

15

MEJOR JS

Page 193: Curso responsive web design  - Redradix School

16

AJAX

CONTENIDO ADICIONAL

FUNCIONALIDAD ADICIONAL

MEDIA QUERIES

ATRIBUTO DATA

HACIA ARRIBA

Page 194: Curso responsive web design  - Redradix School

TOUCH EVENTS

Page 195: Curso responsive web design  - Redradix School

EVENTOS

2

TOUCHSTART

TOUCHMOVE

TOUCHEND

E.TOUCHES -> TOUCHLIST

e.pageX, e.pageY

Page 196: Curso responsive web design  - Redradix School

OPTIMIZANDO

Page 197: Curso responsive web design  - Redradix School

DOS FRENTES

4

CLIENTE

VS

SERVIDOR

Page 198: Curso responsive web design  - Redradix School

CLIENTE

5

SPRITES

@FONT-FACE (ICONOS)

COMPACTAR ARCHIVOS

REDUCIR PETICIONES

CSS3

Page 199: Curso responsive web design  - Redradix School

SERVIDOR

6

CACHEAR ASSETS

GZIP

PÁGINAS ESTÁTICAS

EMPLEAR CDN

Page 200: Curso responsive web design  - Redradix School

HERRAMIENTAS

7

GTMETRIX

PAGESPEED

YSLOW

W3 TOTAL CACHE (wordpress)