Cogitas Blog:
Google Android,
Common Lisp,
programming
and web design.

What is your CSS3 approach?

Filed under: web — Tags: — August 19, 2010

From my recent CSS3 research, it seems that there are two schools of thought when it comes to using CSS3 in your web design.

The first approach is to design your website without using CSS3 then to add CSS3 features to enhance the basic user experience of your website without any detrimental effect for those using a browser that doesn’t implement this specific CSS3 feature. For example, you can use rounded-corners for your menu because they look better – those viewing in a non-compliant browser will still be able to view your menu properly, albeit without rounded corners.

The other approach is to design for the most CSS3 compliant browsers and then to provide alternatives for browsers that do not implement a certain CSS3 capability. Note that this doesn’t mean designing for a specific browser, it is only about checking if the browser implements a certain CSS3 capability. For example, if the browser implements transitions and transformations, you can design a product area using these to show off different information about the product in a visually creative manner. If the browser doesn’t implement these, you can design the product area showing the different bits of information in a grid. This approach requires you to test if the browser implement a certain CSS3 capability then to provide two CSS codes.

Which approach do you prefer? Which approach are you currently implementing?

HTML5 rocks indeed

Filed under: web — Tags: , , , — June 23, 2010

I’ve just checked out the HTML5 presentation at HTML5 Rocks, it’s pretty impressive.

Of course, it’s a catch 22 situation: the more HTML5 compliant your browser is, the more you’ll enjoy the presentation (which encompasses HTML5, CSS3 and the new JS APIs). They should do a video of it showing what it should look like so people with older browsers might find out about it and decide to upgrade their browsers ;-)

Top 5 reasons to ditch Flash and embrace HTML5/CSS3 now

Filed under: web — Tags: , , , , , , , — June 10, 2010

1. HTML5 & CSS3 standards are open so you don’t rely on the whims of one company.

2. Big websites like YouTube are already getting into the game (check out YouTube HTML5 Video Player) so you can bet the demand for HTML5 skills is going to rise.

3. You don’t need to buy a proprietary software so you can easily code HTML5 & CSS3 on your laptop, your roommate’s computer and your mum’s computer.

4. The iPad doesn’t support Flash. While you might disagree with Apple’s choice, this is the choice they made and the iPad is going to foster a new range of interactive websites – all those made with HTML5 and CSS3. Do you want in or do you want out?

5. The current big battle is Google vs Apple (Microsoft seems to have lost the race). They are both committed to HTML5 so even if one wins and the other one gets swallowed up, HTML5 will still be supported.

Disagree? Write a “Top 5 reasons to stick to Flash” and I’ll link to it here ;-)