SlideShare a Scribd company logo
CSS3
     técnicas avanzadas

Javier Usobiaga      SeedRocket
Marta Armada       16 marzo 2011
@htmlboy
@martuishere
vENTAJAS
velocidad
velocidad   flexibilidad
velocidad      flexibilidad




escalabilidad
velocidad      flexibilidad




escalabilidad    ligereza
prOBLEMAS
experimental
experimental   redundancia
experimental   redundancia




   abuso
experimental   redundancia




   abuso         soporte
dibujo de Phil Henderson
      @LLcoolPhil




SOLUCIONES
progressive enhancement
           de menos a más



  Cumplo mi
  función :-)
progressive enhancement
           de menos a más



  Cumplo mi           Y
  función :-)               f
graceful degradation
       de más a menos



Me diseñaron
 así de guay
graceful degradation
       de más a menos



Me diseñaron       Tengo una
 así de guay    imagen de fondo
hardboiled
“To hell with being graceful”
                         Andy Clarke
                Harboiled Web Design



¿Le gustaré a
@4lexcat? :-)
hardboiled
“To hell with being graceful”
                         Andy Clarke
                Harboiled Web Design



¿Le gustaré a         Paso de la
@4lexcat? :-)      imagen de fondo
regressive enhancement
tapando agujeros con Javascript
http://modernizr.com
http://yepnopejs.com
¿soporte?
http://caniuse.com
COLOR &
TRANSPARENCIAS
rgba
.box{
  background-color: rgba (211, 85, 41, .7);
}
h1 a{
           color: rgba(179,45,71,.75);
         }

         #navigation li a{
           background:
             rgba(170,178,192,.75);
         }

         #content{
           background-color:
             rgba(14,32,59,.5);
         }




http://24ways.org
hsl
HUE: grado de la rueda de color. 0º es rojo.

SATURATION: porcentaje de saturado (100%) a gris (0%)

LUMINOSITY: porcentaje de negro (0%) a blanco (100%).
hsla
.box{
  background-color: hsla (16, 67, 49, .7);
}
http://hslpicker.com
gradients
.box{
  background-image:
    linear-gradient(45deg, #291633, #D35529);
}
gradients
.box{
  background-image: linear-gradient
    (#291633 0%, #FFEBA3 50%, #D35529 100%);
}
gradients
.box{
  background-image: linear-gradient
   (top, hsl(16,67,50) 0%, hsl(16,67,55) 50%,
    hsl(16,90,50) 50%, hsl(16,90,40) 100%);
}
gradients
.box{
  background-image:
    radial-gradient(#291633, #D35529);
}
http://colorzilla.com/gradient-editor
a#appstore{
  background-image:
     linear-gradient
     (top, #B6B6B6, #9B9B9B);
}

a#twitter{
  background-image:
     linear-gradient
     (top, #2B79DE, #4798E7);
}




                   http://dribbbitsapp.com
body{
            background:
               #030205

              radial-gradient
              (center top,
              circle closest-corner,
              #615C59,#030205)

              no-repeat;
          }




http://earthhour.fr
DROP
SHADOWS
box shadow
.box{
  box-shadow:
       5px 5px 10px 10px rgba(0,0,0,.75);
}
box shadow
.box{
  box-shadow: 0 5px 0 hsl(16, 67%, 33%),
              0 10px 0 rgba(0, 0, 0, .5);
}
nav li{
                box-shadow:
                       0 2px 8px -3px
                       rgba(0, 0, 0, .5),

                      inset
                      0 1.4em 2em -0.7em
                      rgba(255, 255, 255, .3);
              }




http://bit.ly/viajartiempo
.boton{
  box-shadow:
     0 1px 0 #E87754,
     0 2px 0 #BD4019,
     0 3px 0 #AE3B17,
     0 5px 0 #9F3615,
     0 7px 0 #903113,

     0   8px 1px rgba(0,0,0,.1),
     0   0 5px rgba(0,0,0,.1),
     0   1px 3px rgba(0,0,0,.3),
     0   3px 5px rgba(0,0,0,.2),
     0   5px 10px rgba(0,0,0,.25),
     0   10px 10px rgba(0,0,0,.2),
     0   20px 20px rgba(0,0,0,.15);
}



                     http://bit.ly/viajartiempo
text shadow
h1{
  text-shadow:
       5px 5px 5px rgba(0,0,0,.75);
}




            text shadow
h1{
           text-shadow:
                  1px 1px 0
                  rgba(255,255,255,.6);
         }




http://lanyrd.com
h1{
                text-shadow:
                      0 0 10px white,
                      0 0 20px white,
                      0 0 30px white,
                      0 0 40px #FF00DE,
                      0 0 70px #FF00DE,
                      0 0 80px #FF00DE,
                      0 0 100px #FF00DE,
                      0 0 150px #FF00DE;
              }




http://bit.ly/text-shadows
h1 .c{
  text-shadow:
        0px 0px #FE8,
        0px 2px #EB0,
        0px 1px #FE8,
        0px 3px #EB0,
        -1px 2px #FE8,
        -1px 4px #EB0,
        -1px 3px #FE8,
        (...)
        -4px 26px #EB0;
}




                 http://beercamp.com/2010
bACK
GROUNDS
multiple backgrounds
.box{
  background: url(panda.png) no-repeat
               right bottom,
              url(madera.jpg);
}
#services li{
                   background:
                         url(ux.png)
                         no-repeat left top,

                         url(separador.png)
                         no-repeat center bottom;
                 }




http://swwweet.com/services.html
#header{
                background:
                  url(pattern.png) repeat-x,

                 linear-gradient
                 (top, #17132A, #2A234B);
            }




http://dribbbitsapp.com
input#submit{
  background:
    url(download-arrow.png)
    no-repeat 0px 50%,

    #95DC2F
    linear-gradient
    (top, #8BD225 0%,
    #BCF26F 50%,
    #8BD225 50%,
    transparent 100%);
}




                     http://modernizr.com
background size
.box{
   background: url(balloons.png) repeat;
   background-size: 100px auto;
}
html{
              background-color:#FFECD0;

              background-image:
                linear-gradient
                 (-45deg,
                 rgba(255,255,255,.3) 25%,
                 transparent 25%,
                 transparent 50%,
                 rgba(255,255,255,.3) 50%,
                 rgba(255,255,255,.3) 75%,
                 transparent 75%,
                 transparent);

              background-size: 100px 100px;
          }



http://leaverou.me
MÁXIMA
FLEXIBILIDAD
media queries
@media screen and (max-width:800px){

    body{
      font-size:12px;
    }

    #columna{
      width:400px;
    }
}
media queries
@media screen and (min-width:1200px)
media queries
@media screen and (max-width:320px)
media queries

                                             device-
aspect-ratio     color       orientation
                                           aspect-ratio


device-height device-width   resolution      height



monochrome     max-width       width       max-height
http://alistapart.com/articles/responsive-web-design
http://bit.ly/hardboiled-media-queries
http://stpaulsschool.org.uk
http://stpaulsschool.org.uk
http://stpaulsschool.org.uk
http://sasquatchfestival.com
http://sasquatchfestival.com
http://sasquatchfestival.com
http://mediaqueri.es
MÚLTIPLES
COLUMNAS
columns
.box{
   column-count: 2;
}
         Lorem ipsum dolor sit amet,                     posuere sollicitudin, tortor eros
         co ns e c t e t u r ad ip is c i ng e l i t .   interdum libero, et condimentum
         Aliquam semper augue et libero                  leo purus at nisi. Mauris vel sem
         vulputate fringilla. Phasellus a                lacus, quis laoreet lorem. Integer
         enim non felis commodo                          est orci, sollicitudin quis
         elementum vel non purus.                        fermentum eget, consequat nec
         Curabitur ut orci est. Curabitur                libero. Sed vitae dolor dolor, eget
         lobortis lacus ac dolor placerat sed            p l a c e r a t l e o. P r o i n e g e s t a s
         vehicula neque accumsan. Nullam                 malesuada pharetra. Sed arcu ante,
         auctor arcu quis lectus auctor                  adipiscing sit amet semper vel,
         interdum. Suspendisse at pulvinar               aliquet sit amet nunc.
         ipsum. In hac habitasse platea
         dictumst. In volutpat, tortor eu
columns
.box{
   column-gap: 100px;
}
         Lorem ipsum dolor sit amet,      volutpat, tortor eu posuere
         consectetur adipiscing elit.     s o l l i c i t u d i n , t o r t o r e ro s
         Aliquam semper augue et          interdum libero, et
         libero vulputate fringilla.      condimentum leo purus at
         Phasellus a enim non felis       nisi. Mauris vel sem lacus,
         commodo elementum vel non        quis laoreet lorem. Integer est
         purus. Curabitur ut orci est.    orci, sollicitudin quis
         Curabitur lobortis lacus ac      fermentum eget, consequat
         dolor placerat sed vehicula      nec libero. Sed vitae dolor
         neque accumsan. Nullam           dolor, eget placerat leo. Proin
         auctor arcu quis lectus auctor   egestas malesuada pharetra.
         interdum. Suspendisse at         Sed arcu ante, adipiscing sit
         pulvinar ipsum. In hac           amet semper vel, aliquet sit
         habitasse platea dictumst. In    amet nunc.
columns
.box{
   column-rule: 1px solid black;
}
         Lorem ipsum dolor sit amet,             tortor eros interdum libero, et
         consectetur adipiscing elit.            condimentum leo purus at nisi.
         Aliquam semper augue et libero          Mauris vel sem lacus, quis laoreet
         vulputate fringilla. Phasellus a        lorem. Integer est orci,
         enim non felis commodo                  sollicitudin quis fermentum eget,
         e l e me n t u m ve l no n pu r u s .   consequat nec libero. Sed vitae
         Curabitur ut orci est. Curabitur        dolor dolor, eget placerat leo.
         lobortis lacus ac dolor placerat        Proin egestas malesuada
         sed vehicula neque accumsan.            pharetra. Sed arcu ante,
         Nullam auctor arcu quis lectus          adipiscing sit amet semper vel,
         auctor interdum. Suspendisse at         aliquet sit amet nunc.
         pulvinar ipsum. In hac habitasse
         platea dictumst. In volutpat,
         tortor eu posuere sollicitudin,
#content{
                    column-count: 3;

                    column-gap: 1.125em;
                }




http://informationarchitects.jp
NUEVOS
SELECTORES
:first-child
ul :first-child{
    background: #D35529;
}
:last-child
ul :last-child{
    background: #D35529;
}
:nth-child()
ol :nth-child(odd){
    background: #D35529;
}




  1    2    3    4    5    6   7   8   9
:nth-child()
ol :nth-child(3n){
    background: #D35529;
}




  1    2    3    4    5    6   7   8   9
:nth-child()
ol :nth-child(3){
    background: #D35529;
}




  1    2    3    4    5    6   7   8   9
:nth-child()
ol :nth-child(3n+2){
    background: #D35529;
}




  1    2    3    4    5    6   7   8   9
:nth-child()
ol :nth-child(6n+4){
    background: #D35529;
}




  1    2    3    4    5    6    7    8    9

 10   11   12   13   14    15   16   17   18
http://css-tricks.com/examples/nth-child-tester
:not()
ul :not(:first-child){
    background: #D35529;
}
attribute
a[title] {color: red;}

a[href=‟index.html”] {color: red;}

img[alt*=‟web”] {border: 5px solid red;}

a[href$=‟.pdf”] {background: url(pdf.png)}
http://selectivizr.com
http://selectivizr.com
#recent-projects li:nth-child(2){
         	 margin: 0 13px;
         }




http://swwweet.com
#intro nav li{
              	   background: rgba(5, 129, 121, .8);
              }

              #intro nav li:nth-child(2){
                background: rgba(224, 80, 35, .8);
              }

              #intro nav li:nth-child(3){
                background: rgba(238, 165, 27, .8);
              }

              #intro nav li:nth-child(4){
                background: rgba(94, 79, 58, .8);
              }

              #intro nav li:nth-child(5){
              	   background: rgba(173, 165, 53, .8);
              }




http://bit.ly/viajartiempo
pseudo-elements
                 <p>Oslo</p>
                <p>Quinto</p>

p:before{
   content:‟Mis gatos:”;
   color: #D35529;
}

               Mis gatos: Oslo
               Mis gatos: Quinto
pseudo-elements
                 <p>Oslo</p>
                <p>Quinto</p>

p:after{
   content:‟es un gato”;
   color: #D35529;
}

               Oslo es un gato
               Quinto es un gato
pseudo-elements
         <li>Cuatro estaciones</li>
             <li>Margarita</li>

li:before{
   content: url(pizza.png);
}


                Cuatro estaciones
                Margarita
pseudo-elements
             <p>Un cuadrado</p>

p:before{
   content:‟ ”;
   display: inline-block;
   width: 10px;
   height: 10px;
   background: #D35529;
}

                  Un cuadrado
#signin form:before{
            	 content: "{";
            	 font-size: 15em;
            	 color: #BE3F9E;
            	 position: absolute;
            	 top: -15px;
            	 left: -100px;
            }

            #signin form:after{
            	 content: "}";
            	 font-size: 15em;
            	 color: #BE3F9E;
            	 position: absolute;
            	 top: -15px;
            	 right: -100px;
            }



http://freelancebcn.com
#intro nav li{
                 position:relative;
              }

              #intro nav li:before{
              	 content: "";
              	 position: absolute;
              	 left: 0;
              	 bottom: -8px;
              	 border: 10px solid black;
              	 border-color:
                  transparent rgb(5, 129, 121);
              	 border-width: 0 8px 8px 0;
              }




http://bit.ly/viajartiempo
http://nicolasgallagher.com
TRANS
FORMACIONES
scale
.box{
    transform: scale(.5);
}
.articulo:hover{
               transform: scale(1.1);
           }




http://abelsutilo.com
rotate
.box{
    transform: rotate(45deg);
}
#imagery .photos li:hover {
             transform:
               rotate(2deg) scale(1.1);
           }




http://nordicruby.org
translate
.box{
    transform: translate(20px, 40px);
}
skew
.box{
    transform: skew(5deg, 30deg);
}
TRANSICIONES
transitions
.box{
    background: #51E500;
    transition: 1s background ease-in;
}

.box:hover{
    background: #D35529;
}
transitions
.box{
    transition: 1s background ease-in,
                1s height ease-in;
}
delay
.box{
    transition: 1s background ease-in .5s;
}
li#shape-b a{
                 transform:rotate(-10deg);
                 transition:all 0.8s ease-in;
                 opacity:0.5;
                 background:#17659b;
              }

              li#shape-b a:hover{
                 transform:rotate(360deg);
              }




http://newadventuresconf.com
.banner h3 a{
             background:
              url(banner.png) 0 0 no-repeat;
             transition: all 0.3s ease-in-out;
           }

           .banner h3 a:hover {
             margin-right: -10px;
             text-indent: 10px;
             background:
              url(banner.png) 10px 0 no-repeat;
           }



           #imagery .photos li {
             transition : all .2s ease-in-out;
           }

           #imagery .photos li:hover {
             transform:
               rotate(2deg) scale(1.1);
           }


http://nordicruby.org
rECURSOS

http://books.alistapart.com
rECURSOS

http://hardboiledwebdesign.com
rECURSOS

http://stunningcss3.com
¡GRACIAS!
¿PREGUNTAS?
créditos
http://www.flickr.com/photos/soonerpa/4220518842        http://www.flickr.com/photos/tainara/314471333

http://www.flickr.com/photos/gregheo/5321202672         http://www.flickr.com/photos/adman_as/3507892529

http://www.flickr.com/photos/wainwright/351684037       http://www.flickr.com/photos/archer10/2216791949

http://www.flickr.com/photos/joeshlabotnik/4749975148   http://www.flickr.com/photos/rohdesign/4444113922

http://www.flickr.com/photos/tetzl/178374065            http://www.flickr.com/photos/lycid/1515574003

http://www.flickr.com/photos/cibomahto/2291127824       http://www.flickr.com/photos/stevedave/3566325269

http://www.flickr.com/photos/st3f4n/4448140377          http://www.flickr.com/photos/aftab/3364835006

http://www.flickr.com/photos/blubrblog/4326100513       http://www.flickr.com/photos/rhinoneal/4353519405

http://www.flickr.com/photos/lucynieto/2536364522

More Related Content

Similar to Tecnicas avanzadas con CSS3

Making Links Magical Again with CSS
Making Links Magical Again with CSSMaking Links Magical Again with CSS
Making Links Magical Again with CSS
Jenn Lukas
 
Eye Candy Without Images: Fun With CSS3
Eye Candy Without Images: Fun With CSS3Eye Candy Without Images: Fun With CSS3
Eye Candy Without Images: Fun With CSS3
Shoshi Roberts
 
Raphaël and You
Raphaël and YouRaphaël and You
Raphaël and You
Trotter Cashion
 
Web Design Trends 2010 - What Is CSS3 All About?
Web Design Trends 2010 - What Is CSS3 All About?Web Design Trends 2010 - What Is CSS3 All About?
Web Design Trends 2010 - What Is CSS3 All About?
Alexandra Lo Cascio
 
Learn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day DeutschlandLearn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day Deutschland
ThemePartner
 
Hacking With Pictures SyScan 2015
Hacking With Pictures SyScan 2015Hacking With Pictures SyScan 2015
Hacking With Pictures SyScan 2015
Saumil Shah
 
Learn to Love CSS3 [English]
Learn to Love CSS3 [English]Learn to Love CSS3 [English]
Learn to Love CSS3 [English]
ThemePartner
 
Web Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at GoogleWeb Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at Google
Estelle Weyl
 
Open Web Camp: CSS3 Implementable Features
Open Web Camp: CSS3 Implementable FeaturesOpen Web Camp: CSS3 Implementable Features
Open Web Camp: CSS3 Implementable Features
Estelle Weyl
 
Doctype html publi
Doctype html publiDoctype html publi
Doctype html publiEddy_TKJ
 
JavaOne 2009 - 2d Vector Graphics in the browser with Canvas and SVG
JavaOne 2009 -  2d Vector Graphics in the browser with Canvas and SVGJavaOne 2009 -  2d Vector Graphics in the browser with Canvas and SVG
JavaOne 2009 - 2d Vector Graphics in the browser with Canvas and SVG
Patrick Chanezon
 
popular posts widget
popular posts widgetpopular posts widget
popular posts widget
muhammadahmad0
 
[A5]deview 2012 pt hds webkit_gpu
[A5]deview 2012 pt hds webkit_gpu[A5]deview 2012 pt hds webkit_gpu
[A5]deview 2012 pt hds webkit_gpuNAVER D2
 
Implementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopImplementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 Workshop
Shoshi Roberts
 
No more dumb hex!
No more dumb hex!No more dumb hex!
No more dumb hex!
Ange Albertini
 

Similar to Tecnicas avanzadas con CSS3 (20)

Making Links Magical Again with CSS
Making Links Magical Again with CSSMaking Links Magical Again with CSS
Making Links Magical Again with CSS
 
Eye Candy Without Images: Fun With CSS3
Eye Candy Without Images: Fun With CSS3Eye Candy Without Images: Fun With CSS3
Eye Candy Without Images: Fun With CSS3
 
Raphaël and You
Raphaël and YouRaphaël and You
Raphaël and You
 
Sass, Compass
Sass, CompassSass, Compass
Sass, Compass
 
Web Design Trends 2010 - What Is CSS3 All About?
Web Design Trends 2010 - What Is CSS3 All About?Web Design Trends 2010 - What Is CSS3 All About?
Web Design Trends 2010 - What Is CSS3 All About?
 
Css3 process bar
Css3 process barCss3 process bar
Css3 process bar
 
Css3 process bar
Css3 process barCss3 process bar
Css3 process bar
 
Css3 process bar
Css3 process barCss3 process bar
Css3 process bar
 
Learn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day DeutschlandLearn to love CSS3 | Joomla! Day Deutschland
Learn to love CSS3 | Joomla! Day Deutschland
 
Hacking With Pictures SyScan 2015
Hacking With Pictures SyScan 2015Hacking With Pictures SyScan 2015
Hacking With Pictures SyScan 2015
 
CSS3 ...in 3D!
CSS3 ...in 3D!CSS3 ...in 3D!
CSS3 ...in 3D!
 
Learn to Love CSS3 [English]
Learn to Love CSS3 [English]Learn to Love CSS3 [English]
Learn to Love CSS3 [English]
 
Web Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at GoogleWeb Development for Mobile: GTUG Talk at Google
Web Development for Mobile: GTUG Talk at Google
 
Open Web Camp: CSS3 Implementable Features
Open Web Camp: CSS3 Implementable FeaturesOpen Web Camp: CSS3 Implementable Features
Open Web Camp: CSS3 Implementable Features
 
Doctype html publi
Doctype html publiDoctype html publi
Doctype html publi
 
JavaOne 2009 - 2d Vector Graphics in the browser with Canvas and SVG
JavaOne 2009 -  2d Vector Graphics in the browser with Canvas and SVGJavaOne 2009 -  2d Vector Graphics in the browser with Canvas and SVG
JavaOne 2009 - 2d Vector Graphics in the browser with Canvas and SVG
 
popular posts widget
popular posts widgetpopular posts widget
popular posts widget
 
[A5]deview 2012 pt hds webkit_gpu
[A5]deview 2012 pt hds webkit_gpu[A5]deview 2012 pt hds webkit_gpu
[A5]deview 2012 pt hds webkit_gpu
 
Implementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 WorkshopImplementing Awesome: An HTML5/CSS3 Workshop
Implementing Awesome: An HTML5/CSS3 Workshop
 
No more dumb hex!
No more dumb hex!No more dumb hex!
No more dumb hex!
 

More from Marta Armada

Responsive web design: The good, the bad and the ugly
Responsive web design: The good, the bad and the uglyResponsive web design: The good, the bad and the ugly
Responsive web design: The good, the bad and the uglyMarta Armada
 
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
Marta Armada
 
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óvilMarta Armada
 
Aprende a diseñar (un poco) en 13 minutos
Aprende a diseñar (un poco) en 13 minutosAprende a diseñar (un poco) en 13 minutos
Aprende a diseñar (un poco) en 13 minutosMarta Armada
 
Conoce HTML5 y CSS3
Conoce HTML5 y CSS3Conoce HTML5 y CSS3
Conoce HTML5 y CSS3
Marta Armada
 
HTML5: empieza hoy
HTML5: empieza hoyHTML5: empieza hoy
HTML5: empieza hoy
Marta Armada
 
Guía de supervivencia freelance
Guía de supervivencia freelanceGuía de supervivencia freelance
Guía de supervivencia freelance
Marta Armada
 

More from Marta Armada (8)

Responsive web design: The good, the bad and the ugly
Responsive web design: The good, the bad and the uglyResponsive web design: The good, the bad and the ugly
Responsive web design: The good, the bad and the ugly
 
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
 
Client fu
Client fuClient fu
Client fu
 
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
 
Aprende a diseñar (un poco) en 13 minutos
Aprende a diseñar (un poco) en 13 minutosAprende a diseñar (un poco) en 13 minutos
Aprende a diseñar (un poco) en 13 minutos
 
Conoce HTML5 y CSS3
Conoce HTML5 y CSS3Conoce HTML5 y CSS3
Conoce HTML5 y CSS3
 
HTML5: empieza hoy
HTML5: empieza hoyHTML5: empieza hoy
HTML5: empieza hoy
 
Guía de supervivencia freelance
Guía de supervivencia freelanceGuía de supervivencia freelance
Guía de supervivencia freelance
 

Recently uploaded

GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 

Recently uploaded (20)

GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 

Tecnicas avanzadas con CSS3

  • 1. CSS3 técnicas avanzadas Javier Usobiaga SeedRocket Marta Armada 16 marzo 2011
  • 2.
  • 6. velocidad flexibilidad
  • 7. velocidad flexibilidad escalabilidad
  • 8. velocidad flexibilidad escalabilidad ligereza
  • 11. experimental redundancia
  • 12. experimental redundancia abuso
  • 13. experimental redundancia abuso soporte
  • 14. dibujo de Phil Henderson @LLcoolPhil SOLUCIONES
  • 15. progressive enhancement de menos a más Cumplo mi función :-)
  • 16. progressive enhancement de menos a más Cumplo mi Y función :-) f
  • 17. graceful degradation de más a menos Me diseñaron así de guay
  • 18. graceful degradation de más a menos Me diseñaron Tengo una así de guay imagen de fondo
  • 19. hardboiled “To hell with being graceful” Andy Clarke Harboiled Web Design ¿Le gustaré a @4lexcat? :-)
  • 20. hardboiled “To hell with being graceful” Andy Clarke Harboiled Web Design ¿Le gustaré a Paso de la @4lexcat? :-) imagen de fondo
  • 27. rgba .box{ background-color: rgba (211, 85, 41, .7); }
  • 28.
  • 29. h1 a{ color: rgba(179,45,71,.75); } #navigation li a{ background: rgba(170,178,192,.75); } #content{ background-color: rgba(14,32,59,.5); } http://24ways.org
  • 30. hsl HUE: grado de la rueda de color. 0º es rojo. SATURATION: porcentaje de saturado (100%) a gris (0%) LUMINOSITY: porcentaje de negro (0%) a blanco (100%).
  • 31. hsla .box{ background-color: hsla (16, 67, 49, .7); }
  • 33. gradients .box{ background-image: linear-gradient(45deg, #291633, #D35529); }
  • 34. gradients .box{ background-image: linear-gradient (#291633 0%, #FFEBA3 50%, #D35529 100%); }
  • 35. gradients .box{ background-image: linear-gradient (top, hsl(16,67,50) 0%, hsl(16,67,55) 50%, hsl(16,90,50) 50%, hsl(16,90,40) 100%); }
  • 36. gradients .box{ background-image: radial-gradient(#291633, #D35529); }
  • 38.
  • 39. a#appstore{ background-image: linear-gradient (top, #B6B6B6, #9B9B9B); } a#twitter{ background-image: linear-gradient (top, #2B79DE, #4798E7); } http://dribbbitsapp.com
  • 40.
  • 41. body{ background: #030205 radial-gradient (center top, circle closest-corner, #615C59,#030205) no-repeat; } http://earthhour.fr
  • 43. box shadow .box{ box-shadow: 5px 5px 10px 10px rgba(0,0,0,.75); }
  • 44. box shadow .box{ box-shadow: 0 5px 0 hsl(16, 67%, 33%), 0 10px 0 rgba(0, 0, 0, .5); }
  • 45.
  • 46. nav li{ box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .5), inset 0 1.4em 2em -0.7em rgba(255, 255, 255, .3); } http://bit.ly/viajartiempo
  • 47.
  • 48. .boton{ box-shadow: 0 1px 0 #E87754, 0 2px 0 #BD4019, 0 3px 0 #AE3B17, 0 5px 0 #9F3615, 0 7px 0 #903113, 0 8px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15); } http://bit.ly/viajartiempo
  • 49. text shadow h1{ text-shadow: 5px 5px 5px rgba(0,0,0,.75); } text shadow
  • 50.
  • 51. h1{ text-shadow: 1px 1px 0 rgba(255,255,255,.6); } http://lanyrd.com
  • 52.
  • 53. h1{ text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white, 0 0 40px #FF00DE, 0 0 70px #FF00DE, 0 0 80px #FF00DE, 0 0 100px #FF00DE, 0 0 150px #FF00DE; } http://bit.ly/text-shadows
  • 54.
  • 55. h1 .c{ text-shadow: 0px 0px #FE8, 0px 2px #EB0, 0px 1px #FE8, 0px 3px #EB0, -1px 2px #FE8, -1px 4px #EB0, -1px 3px #FE8, (...) -4px 26px #EB0; } http://beercamp.com/2010
  • 57. multiple backgrounds .box{ background: url(panda.png) no-repeat right bottom, url(madera.jpg); }
  • 58.
  • 59. #services li{ background: url(ux.png) no-repeat left top, url(separador.png) no-repeat center bottom; } http://swwweet.com/services.html
  • 60.
  • 61. #header{ background: url(pattern.png) repeat-x, linear-gradient (top, #17132A, #2A234B); } http://dribbbitsapp.com
  • 62.
  • 63. input#submit{ background: url(download-arrow.png) no-repeat 0px 50%, #95DC2F linear-gradient (top, #8BD225 0%, #BCF26F 50%, #8BD225 50%, transparent 100%); } http://modernizr.com
  • 64. background size .box{ background: url(balloons.png) repeat; background-size: 100px auto; }
  • 65.
  • 66. html{ background-color:#FFECD0; background-image: linear-gradient (-45deg, rgba(255,255,255,.3) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.3) 50%, rgba(255,255,255,.3) 75%, transparent 75%, transparent); background-size: 100px 100px; } http://leaverou.me
  • 68. media queries @media screen and (max-width:800px){ body{ font-size:12px; } #columna{ width:400px; } }
  • 69. media queries @media screen and (min-width:1200px)
  • 70. media queries @media screen and (max-width:320px)
  • 71. media queries device- aspect-ratio color orientation aspect-ratio device-height device-width resolution height monochrome max-width width max-height
  • 82. columns .box{ column-count: 2; } Lorem ipsum dolor sit amet, posuere sollicitudin, tortor eros co ns e c t e t u r ad ip is c i ng e l i t . interdum libero, et condimentum Aliquam semper augue et libero leo purus at nisi. Mauris vel sem vulputate fringilla. Phasellus a lacus, quis laoreet lorem. Integer enim non felis commodo est orci, sollicitudin quis elementum vel non purus. fermentum eget, consequat nec Curabitur ut orci est. Curabitur libero. Sed vitae dolor dolor, eget lobortis lacus ac dolor placerat sed p l a c e r a t l e o. P r o i n e g e s t a s vehicula neque accumsan. Nullam malesuada pharetra. Sed arcu ante, auctor arcu quis lectus auctor adipiscing sit amet semper vel, interdum. Suspendisse at pulvinar aliquet sit amet nunc. ipsum. In hac habitasse platea dictumst. In volutpat, tortor eu
  • 83. columns .box{ column-gap: 100px; } Lorem ipsum dolor sit amet, volutpat, tortor eu posuere consectetur adipiscing elit. s o l l i c i t u d i n , t o r t o r e ro s Aliquam semper augue et interdum libero, et libero vulputate fringilla. condimentum leo purus at Phasellus a enim non felis nisi. Mauris vel sem lacus, commodo elementum vel non quis laoreet lorem. Integer est purus. Curabitur ut orci est. orci, sollicitudin quis Curabitur lobortis lacus ac fermentum eget, consequat dolor placerat sed vehicula nec libero. Sed vitae dolor neque accumsan. Nullam dolor, eget placerat leo. Proin auctor arcu quis lectus auctor egestas malesuada pharetra. interdum. Suspendisse at Sed arcu ante, adipiscing sit pulvinar ipsum. In hac amet semper vel, aliquet sit habitasse platea dictumst. In amet nunc.
  • 84. columns .box{ column-rule: 1px solid black; } Lorem ipsum dolor sit amet, tortor eros interdum libero, et consectetur adipiscing elit. condimentum leo purus at nisi. Aliquam semper augue et libero Mauris vel sem lacus, quis laoreet vulputate fringilla. Phasellus a lorem. Integer est orci, enim non felis commodo sollicitudin quis fermentum eget, e l e me n t u m ve l no n pu r u s . consequat nec libero. Sed vitae Curabitur ut orci est. Curabitur dolor dolor, eget placerat leo. lobortis lacus ac dolor placerat Proin egestas malesuada sed vehicula neque accumsan. pharetra. Sed arcu ante, Nullam auctor arcu quis lectus adipiscing sit amet semper vel, auctor interdum. Suspendisse at aliquet sit amet nunc. pulvinar ipsum. In hac habitasse platea dictumst. In volutpat, tortor eu posuere sollicitudin,
  • 85.
  • 86. #content{ column-count: 3; column-gap: 1.125em; } http://informationarchitects.jp
  • 88. :first-child ul :first-child{ background: #D35529; }
  • 89. :last-child ul :last-child{ background: #D35529; }
  • 90. :nth-child() ol :nth-child(odd){ background: #D35529; } 1 2 3 4 5 6 7 8 9
  • 91. :nth-child() ol :nth-child(3n){ background: #D35529; } 1 2 3 4 5 6 7 8 9
  • 92. :nth-child() ol :nth-child(3){ background: #D35529; } 1 2 3 4 5 6 7 8 9
  • 93. :nth-child() ol :nth-child(3n+2){ background: #D35529; } 1 2 3 4 5 6 7 8 9
  • 94. :nth-child() ol :nth-child(6n+4){ background: #D35529; } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
  • 96. :not() ul :not(:first-child){ background: #D35529; }
  • 97. attribute a[title] {color: red;} a[href=‟index.html”] {color: red;} img[alt*=‟web”] {border: 5px solid red;} a[href$=‟.pdf”] {background: url(pdf.png)}
  • 100.
  • 101. #recent-projects li:nth-child(2){ margin: 0 13px; } http://swwweet.com
  • 102.
  • 103. #intro nav li{ background: rgba(5, 129, 121, .8); } #intro nav li:nth-child(2){ background: rgba(224, 80, 35, .8); } #intro nav li:nth-child(3){ background: rgba(238, 165, 27, .8); } #intro nav li:nth-child(4){ background: rgba(94, 79, 58, .8); } #intro nav li:nth-child(5){ background: rgba(173, 165, 53, .8); } http://bit.ly/viajartiempo
  • 104. pseudo-elements <p>Oslo</p> <p>Quinto</p> p:before{ content:‟Mis gatos:”; color: #D35529; } Mis gatos: Oslo Mis gatos: Quinto
  • 105. pseudo-elements <p>Oslo</p> <p>Quinto</p> p:after{ content:‟es un gato”; color: #D35529; } Oslo es un gato Quinto es un gato
  • 106. pseudo-elements <li>Cuatro estaciones</li> <li>Margarita</li> li:before{ content: url(pizza.png); } Cuatro estaciones Margarita
  • 107. pseudo-elements <p>Un cuadrado</p> p:before{ content:‟ ”; display: inline-block; width: 10px; height: 10px; background: #D35529; } Un cuadrado
  • 108.
  • 109. #signin form:before{ content: "{"; font-size: 15em; color: #BE3F9E; position: absolute; top: -15px; left: -100px; } #signin form:after{ content: "}"; font-size: 15em; color: #BE3F9E; position: absolute; top: -15px; right: -100px; } http://freelancebcn.com
  • 110.
  • 111. #intro nav li{ position:relative; } #intro nav li:before{ content: ""; position: absolute; left: 0; bottom: -8px; border: 10px solid black; border-color: transparent rgb(5, 129, 121); border-width: 0 8px 8px 0; } http://bit.ly/viajartiempo
  • 114. scale .box{ transform: scale(.5); }
  • 115.
  • 116. .articulo:hover{ transform: scale(1.1); } http://abelsutilo.com
  • 117. rotate .box{ transform: rotate(45deg); }
  • 118.
  • 119. #imagery .photos li:hover { transform: rotate(2deg) scale(1.1); } http://nordicruby.org
  • 120. translate .box{ transform: translate(20px, 40px); }
  • 121. skew .box{ transform: skew(5deg, 30deg); }
  • 123. transitions .box{ background: #51E500; transition: 1s background ease-in; } .box:hover{ background: #D35529; }
  • 124. transitions .box{ transition: 1s background ease-in, 1s height ease-in; }
  • 125. delay .box{ transition: 1s background ease-in .5s; }
  • 126.
  • 127. li#shape-b a{ transform:rotate(-10deg); transition:all 0.8s ease-in; opacity:0.5; background:#17659b; } li#shape-b a:hover{ transform:rotate(360deg); } http://newadventuresconf.com
  • 128.
  • 129. .banner h3 a{ background: url(banner.png) 0 0 no-repeat; transition: all 0.3s ease-in-out; } .banner h3 a:hover { margin-right: -10px; text-indent: 10px; background: url(banner.png) 10px 0 no-repeat; } #imagery .photos li { transition : all .2s ease-in-out; } #imagery .photos li:hover { transform: rotate(2deg) scale(1.1); } http://nordicruby.org
  • 135. créditos http://www.flickr.com/photos/soonerpa/4220518842 http://www.flickr.com/photos/tainara/314471333 http://www.flickr.com/photos/gregheo/5321202672 http://www.flickr.com/photos/adman_as/3507892529 http://www.flickr.com/photos/wainwright/351684037 http://www.flickr.com/photos/archer10/2216791949 http://www.flickr.com/photos/joeshlabotnik/4749975148 http://www.flickr.com/photos/rohdesign/4444113922 http://www.flickr.com/photos/tetzl/178374065 http://www.flickr.com/photos/lycid/1515574003 http://www.flickr.com/photos/cibomahto/2291127824 http://www.flickr.com/photos/stevedave/3566325269 http://www.flickr.com/photos/st3f4n/4448140377 http://www.flickr.com/photos/aftab/3364835006 http://www.flickr.com/photos/blubrblog/4326100513 http://www.flickr.com/photos/rhinoneal/4353519405 http://www.flickr.com/photos/lucynieto/2536364522