Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSS3: The Future is Now // DrupalCon San Francisco

CSS3: The Future is Now // DrupalCon San Francisco

The next generation of CSS is here, and it's being used on thousands of sites. Learn about the new styles, and how to use them today. Rounded corners, gradients, translucent color, shadows — forget making images, do it with CSS.

Jen Simmons

April 19, 2010
Tweet

More Decks by Jen Simmons

Other Decks in Technology

Transcript

  1. Jen Simmons Lullabot Trainer Lead Front-End Developer and architect at

    workhabit twitter: jensimmons irc/d.o: jensimmons http://extras.jensimmons.com/drupalconsf2010/css3.pdf
  2. wouldn’t you like to make rounded corners put multiple background

    images on one thing make drop shadows put shadows on text have image-based borders on boxes layout your content in multiple columns use translucent colors create gradients and reflections use more fonts on the web animate stuff
  3. ie

  4. do websites need to look exactly the same in every

    browser? http:// dowebsitesneedtolookexactlythesameineverybrowser. com
  5. compliant browser* drop shadow rounded corners gradient translucency new font

    none square corners solid color opaqueness old font internet explorer * safari & chrome, firefox, opera
  6. workaround ie with filter hacks filter: progid:DXImageTransform.Microsoft.gradient (startColorStr='#444444', EndColorStr='#999999'); /

    * IE6,IE7 */ -ms-filter: "progid:DXImageTransform.Microsoft.gradient (startColorStr='#444444', EndColorStr='#999999')"; /* IE8 */ http://css3please.com
  7. the Css working group (where css is born) is creating

    the spec over time in “modules”