css3 Archive

Flex Box article in .net magazine

I’m very proud to have my second article published in .net magazine this month. It’s an introduction to the Flexible Box Layout module (Flex Box), which is currently implemented in Firefox and WebKit browsers and has made a tentative appearance in some of the platform previews of IE9 (although it was dropped for the Beta).

Update: The article is now available to read online: The CSS3 Flexible Box model explained.

The article was really hard to write, because I had to provide information about a whole new set of properties while providing a tutorial on how to use them. I ran to almost four pages in the magazine but still had to leave a few things out – hence this accompanying blog post.

Read the full article


New to Firefox: -moz-calc and :-moz-any

The latest nightly releases of what will become Firefox 4 have implemented a couple of experimental new CSS features. The -moz-calc function allows calculations on length values, and the :-moz-any selector permits grouping of simple selectors.

If you have a nightly build of Firefox you can see a little demo I’ve put together of them in action.

Read the full article


An updated studio-style backdrop with CSS3

I’ve updated my post, Create a studio-style backdrop with CSS3, as I realised a way to do the reflection without requiring an extra image – using the scale transformation function to flip the image vertically.

The demo works in Firefox and WebKit.


Create a studio-style backdrop with CSS3

Sitepoint’s Web Design blog featured an article this week called Create A Studio Style Backdrop In Photoshop, which provides instructions for making a glossy, reflective surface effect, similar to what you often see in adverts.

As the title makes clear, the tutorial is for creating the effect in Photoshop – but really, the same effect is fairly easily achievable with some bleeding-edge CSS. That said, it won’t work in every browser, so currently it’s just a proof-of-concept piece.

Read the full article


Help wanted: Webkit multi-columns

I’m writing about the CSS3 Multi-column layout module and I notice that WebKit supports a series of proprietary properties: -webkit-column-break-after, -webkit-column-break-before, and -webkit-column-break-inside. However, despite the documentation saying that they’re implemented in Safari 3+, I can’t seem to get any of them to work.

Has anyone reading this ever seen an example of these in action? I’ve searched for demos but have found nothing. If you know anything about this, please leave me a comment; your help would be gratefully appreciated.


Building Preloaded.com: The Front-end

This subject of this post is the redesign of my employer’s website, Preloaded.com, and is cross-posted from the Preloaded blog with permission.

At the beginning of the redesign project we agreed some design tenets: the new site should be a best-practice showcase and an opportunity to learn and use some of the latest web technologies; and it should employ existing services where practical.

Read the full article


Newer | Older

Aside

I’ve updated my Speaking page to include more conferences, more videos, and a little on my speaking requirements and preferences. I’m planning to cut down on the number of talks I give in 2014 (twelve is too many), but am always open to interesting offers and opportunities, so please get in touch if you’re organising an event.

[#] 1 Comment . More Asides.