Drupalcon notes: CSS3: The Future is Now

domesticat's picture

Find the slides at: http://extras.jensimmons.com/drupalconsf2010/css3.pdf

  • What can CSS3 do? Basically, suck less than CSS2. Lots of text and background effects.
  • "progressive enhancement" - the idea of a site looking different in different browsers - you write out all the specifications in such a way that browsers that can't support them simply ignore them.
  • You can do some awful hacks in IE6 - look at http://css3please.com/ but consider stabbing yourself in the eye first
  • http://modernizr.com - ways to push different code to different browsers
  • What about everyone else?  Safari, Chrome, Opera, Firefox? iPhone? iPad? If it works in Safari, it mostly works in Chrome — they're both WebKit browsers
  • Browser makers are each implementing things that not everyone has agreed to
     — and this is ok!
  • example: -moz-border-radius: gives you rounded borders in some browsers, webkit-border-radius: get you others. There's also border-radius: which is the CSS3 version. Right now, do all three to cover the greatest number of browsers. Also as trivia: -khtml-border-radius: for Konqueror
  • The CSS Working Group is creating the spec for CSS3 over time in 'modules'
  • http://border-radius.com lets you play with border-radius ideas
  • http://css3generator.com for working out details visually
  • multiple columns, zomg.
  • CSS3 gradient generator tool: http://gradients.glrzad.com/
  • More gradients: http://westciv.com/
  • RGBA = red-green-blue-alpha - play with it at http://css3generator.com
  • http://fontsquirrel.com and http://typekit.com
  • Dan Cederholm's Handcrafted CSS is apparently a very good book
  • http://www.w3.org/styles/css/current-work to see where CSS3 modules stand right now

Post new comment

User login

Recent comments

  • Anonymous 3 days 11 hours ago [view]
  • Charli 2 weeks 3 hours ago [view]
  • quiltmom anna 3 weeks 3 days ago [view]
  • rslatkin 3 weeks 5 days ago [view]
  • Donna 3 weeks 6 days ago [view]

Search

Hello, anonymous!

If you're seeing this, you're not logged in. A lot of content here is only visible if you're logged in, and comments by anonymous users are held for moderation. Consider getting an account to save yourself some frustration?

domesticat.net

is the home of Amy Qualls-McClure since 2000. She is a Drupal / quilt geek in Huntsville, Alabama. One spouse, two cats, no kids, lots of opinions.

Public account for work and Drupal stuff: Private account for friends and personal life:

me on plurk me on drupal.org my music habits on last.fm my photos on flickr my bookmarks on del.icio.us my bookmarks on pinboard.in Amy Q. on foursquare what I'm reading

Some content is locked. Copy these links AFTER logging in for a query string giving you full feed-reader access:

Atom feed, entries RSS feed, entries RSS feed, comments