Broken Links

Thoughts on web development and technologies by Peter Gasston

Search

August 2007 Archives - 2/2 - Broken Links Archive

Firefox (Gran Paradiso) 3a7: –moz-initial and forms

Recently I was chatting with Rapha Martins, and he mentioned a feature he’d like to see in CSS: a ‘default’ value for properties; that is, if you change the value of a property, a keyword that would change it back to the browser default rather than you having to specify that value again.

That has been proposed for CSS 3, with the ‘initial’ value, and it’s been introduced into the latest preview of Firefox 3 (Gran Paradiso), with the browser-specific –moz– prefix. I’ve put together a quick couple of basic examples of how it will work (you will, obviously, need the latest preview to see them).

Read the full article


The worst rounded corners technique ever

Reading this article listing 25 rounded corners techniques with CSS reminded me of perhaps the worst solution to the problem I ever read: rounded corners without images. 10 <div>‘s and a whacking great chunk of CSS… and the funniest part is the claim that this is the future of rounded corners. What makes the laughter die a little is that three years later there’s still no pure CSS cross-browser solution without images.


Newer

Aside

For no particular reason other than idle curiosity, I made a demo of a broken neon sign, using CSS Animations (you’ll need Firefox 5, Safari or Chrome to see it). It doesn’t degrade well at the moment, the root cause of which is down to what I think is a bug in Firefox’s implementation — I’ll need to confirm that.

One quick learning from making this: it would be really useful to have CSS Mixins when using a lot of repetitive keyframes, as I do in this animation. The W3C seem to be quite against them, however.

[#] 3 Comments . More Asides.

My conferences on Lanyrd