SXSW 2009: CSS3: What’s Now, What’s New and What’s Not?

Sunday, March 15th, 2009 2:00 PM
David Baron, Mozilla
Sylvain Galineau, Program Manager for Microsoft
Hakon Wium Lie, Opera Software
Molly Holzschlag, President of Opera Software

1. Mozilla

CSS Modules (Just a few):

  • Selectors
  • Color
  • Media Queries
  • Backgrounds and Borders
  • Fonts
  • etc.

Selectors:

  • tr:nth-child(odd) {background: #FFA;} or tr:nth-child(even)
  • opacity: 0.5 can be represented as rgba(0,255,0,0.5)
  • border-image allows for stretching of border images no matter height/width.
  • text-shadow: 0 0 0.25em #000;
  • -moz-border-radius: 0.67em;
  • word-wrap: break;
  • font-size-adjust: 0.45; lets you change the way you’re specifying font sizes by the x-height of the characters. this attribute acts as a multiplier.
  • downloadable fonts can be achieved by @font-face { src: url(“GenBasR.ttf”); font-family: “Gentium Basic”; font-weight: normal; font-style: normal; }
  • width: calc(50% – 8px);
  • h1 { content: url(company-name.png); }

As a side note, Baron was using the browser “Minefield.” I’ve never heard of this browser, but I want to check it out sometime.
As a side note, the Galineau from Microsoft has a Firefox 3 sticker on his laptop. 🙂

2. Internet Explorer

Internet Explorer 8 is working on getting up to date with CSS 2.1, but has no plans to release a stable support for CSS 3.0 as Opera/Firefox is already supporting.

3. Opera

Selectors:

  • text-shadow
  • border-radius: 60px 0px / 0px 60px;
  • box-shadow: 0 0 20px 10px #000 inset;
  • box-shadow: 0 0 20px 10px #000 inset, 0 0 20px 10px #FFA; would do two shadows.
  • border-image
  • media-queries lets you change the CSS display based on the width/height of the content view area.

As a side note, the Galineau from Microsoft was grabbing his fast in nervousness while Wium Lie was going over Opera’s amazing new features. 🙂

4. Questions and Answers

Typically designers will float elements on a page to mimic page layouts. Although it works, it just doesn’t seem like a good solution. Johnathan Snook is a CSS layout issue author who touches on implimations for this issue.

Opera wrote a few custom selectors into their browser that lets them print as a book. They actually used this technology to print and publish an entire book two years ago. They worked with Yes Software who was doing something very similar to what they wanted.

Baron posted his examples online. You can access these from his website.

Card Game Review: Citadels

I’ve decided to start doing short, but comprehensive, reviews on Board Games and Card Games I buy. At work me and the individuals I play with enjoy playing abstract games. Unlike Monopoly, Scrabble, and every game you played as a child, the games we play contain a decent amount of strategy. Most of us being computer geeks, these types of games tend to fit right in.

Introduction:

Citadels Card GameCitadels is a card game which supports 2-7 players. There are few good games that support such a vast number, and thus for that reason alone this game is amazing.

The rules are easy to pick up for all players which makes it enjoyable for everyone. The point of the game is to build a variety of valuable districts. There are five types of districts and these types influence resource gain for the different players. The game ends when a player reaches eight districts; however that player does not necicarly win. The victor of the game is the one with the most valuable city (plus a few points here and there for having one type of each district and for getting to eight districts by the end of the game). At first I felt the game didn’t have much strategy, but after a few rounds my mind was just blow away from the strategic complexity this game offers.

My Review:

Players: 2-7
Play time: 45-60 minutes
Cost: ~$20

Art/Graphics: 8/10
Material Quality: 7/10
Replay Value: 9/10
Fun/Strategy: 7/10
Overall Score: 7.75/10

Puchase:

I purchased my copy from Amazon.com for about $16. The game on Amazon.com INCLUDES the expansion which adds more characters and district cards. So don’t think you’ll need to buy that too!

Enjoy!,
Daniel Slaughter