CSS3: The Future is Now at Drupal Design Camp Boston

2,133 views

Published on

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

I cover the state of cross-browser support and tips for implementing graceful fallbacks. I talk about the future and where CSS3 is going. And I provide resources on where to learn more.

Published in: Technology
2 Comments
4 Likes
Statistics
Notes
No Downloads
Views
Total views
2,133
On SlideShare
0
From Embeds
0
Number of Embeds
158
Actions
Shares
0
Downloads
28
Comments
2
Likes
4
Embeds 0
No embeds

No notes for slide

CSS3: The Future is Now at Drupal Design Camp Boston

  1. 1. CSS3:Now The Future is drupal Design camp boston June 2010 http://extras.jensimmons.com/ designcamp2010/css3.pdf Sunday, June 20, 2010
  2. 2. 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 Sunday, June 20, 2010
  3. 3. wouldn’t you like to make rounded corners layout your content in multiple columns put multiple background images on one thing use translucent colors make drop shadows create gradients and reflections put shadows on text use more fonts on the web have image-based borders on boxes animate stuff Sunday, June 20, 2010
  4. 4. You can! with just css today Sunday, June 20, 2010
  5. 5. but what about the evil one? Sunday, June 20, 2010
  6. 6. Sunday, June 20, 2010 ie
  7. 7. well, you can ignore internet explorer let it stay in 200X Sunday, June 20, 2010
  8. 8. do websites need to look exactly the same in every browser? http:// dowebsitesneedtolookexactlythesameineverybrowser. com Sunday, June 20, 2010
  9. 9. Sunday, June 20, 2010
  10. 10. Sunday, June 20, 2010
  11. 11. “progressive enhancement” Sunday, June 20, 2010
  12. 12. compliant internet browser* explorer drop shadow none rounded corners square corners gradient solid color translucency opaqueness new font old font * safari & chrome, firefox, opera Sunday, June 20, 2010
  13. 13. 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 Sunday, June 20, 2010
  14. 14. http://modernizr.com Sunday, June 20, 2010
  15. 15. http://code.google.com/chrome/chromeframe Sunday, June 20, 2010
  16. 16. enough about ie what about everybody else? safari chrome opera firefox Sunday, June 20, 2010
  17. 17. browser makers are implementing stuff that not everyone has agreed to. and it’s ok. Sunday, June 20, 2010
  18. 18. { -moz-border-radius: 12px; /* FF1+ */ -webkit-border-radius: 12px; /* Saf3+, Chrome */ border-radius: 12px; /* Opera 10.5, IE 9 */ } Sunday, June 20, 2010
  19. 19. div.block { -moz-border-radius: 12px; -webkit-border-radius: 12px; -khtml-border-radius: 12px; border-radius: 12px; } Sunday, June 20, 2010
  20. 20. browser makers are implementing stuff in bits and pieces over time. and it’s ok. Sunday, June 20, 2010
  21. 21. the Css working group (where css is born) is creating the spec over time in “modules” Sunday, June 20, 2010
  22. 22. http://www.w3.org/Style/ CSS/current-work Sunday, June 20, 2010
  23. 23. let’s get to it Sunday, June 20, 2010
  24. 24. Border-radius http://border-radius.com Sunday, June 20, 2010
  25. 25. box-shadow http://westciv.com/tools/boxshadows Sunday, June 20, 2010
  26. 26. text-shadow http://css3generator.com Sunday, June 20, 2010
  27. 27. http://lab.simurai.com/css/iloveblur Sunday, June 20, 2010
  28. 28. http://desandro.com/articles/the-new-lens-flare Sunday, June 20, 2010
  29. 29. multicolumn layout http://css3generator.com Sunday, June 20, 2010
  30. 30. gradients http://gradients.glrzad.com http://westciv.com/tools/gradients http://westciv.com/tools/radialgradients Sunday, June 20, 2010
  31. 31. rgba and hsla http://css3generator.com Sunday, June 20, 2010
  32. 32. transformations http://westciv.com/tools/transforms Sunday, June 20, 2010
  33. 33. CSS animations one cool example: http://anthonycalzadilla.com/css3-ATAT (only works in webkit) -webkit-transform: translate(x,y) rotate(x) Sunday, June 20, 2010
  34. 34. font-face http://fontsquirrel.com http://typekit.com Sunday, June 20, 2010
  35. 35. http://typefolly.com http://drupal.org/project/google_fonts Sunday, June 20, 2010
  36. 36. resources Sunday, June 20, 2010
  37. 37. tools http://css3generator.com http://border-radius.com http://westciv.com/tools http://gradients.glrzad.com Sunday, June 20, 2010
  38. 38. Dan cederholm Handcrafted css Sunday, June 20, 2010
  39. 39. andy clarke hardboiled web design Sunday, June 20, 2010
  40. 40. http://www.w3.org/Style/ CSS/current-work Sunday, June 20, 2010
  41. 41. http://css3.info Sunday, June 20, 2010
  42. 42. http://google.com Sunday, June 20, 2010
  43. 43. have fun :) welcome to the future http://extras.jensimmons.com/ designcamp2010/css3.pdf find me on twitter, irc, drupal.org, and irl: jensimmons Sunday, June 20, 2010

×