leff

Mr. Webpage

a blog about putting content on the web

Posts tagged with "css"

Monday 21st May, 2012

Cutting the mustard

responsivenews:

The browser is a hostile development environment and supporting a wide range of desktop browsers can be tough work.

One of the immediate challenges we discovered when we first started the responsive news prototype was the large range of devices that we would have to support. It terrified us. This article is about a solution we use to alleviate this problem.

Read More

Tuesday 1st November, 2011
Tuesday 27th September, 2011
Monday 19th September, 2011
Tuesday 6th September, 2011
The article describes a pretty little technique, though it does expose a certain gap in CSS/JS. An array of stylesheets, each containing an array of rules, is a terrible abstraction. It leads to the keyframes = stuff you see in the screenshot: generating CSS as text. It would be nice to have a dynamic css class definition library.
On the other hand, if the world had a dynamic css class definition library, the first thing to happen would be it’s horrible horrible abuse. Every event (hover, click, keypress) would cause the entire page to redraw. IE would just melt down. In short, pandemonium. So maybe it’s best we just continue to specify every browser’s styles in our static css files.
(via Detecting and generating CSS animations in JavaScript)

The article describes a pretty little technique, though it does expose a certain gap in CSS/JS. An array of stylesheets, each containing an array of rules, is a terrible abstraction. It leads to the keyframes = stuff you see in the screenshot: generating CSS as text. It would be nice to have a dynamic css class definition library.

On the other hand, if the world had a dynamic css class definition library, the first thing to happen would be it’s horrible horrible abuse. Every event (hover, click, keypress) would cause the entire page to redraw. IE would just melt down. In short, pandemonium. So maybe it’s best we just continue to specify every browser’s styles in our static css files.

(via Detecting and generating CSS animations in JavaScript)

Tuesday 23rd August, 2011
Wednesday 10th August, 2011
Thursday 2nd June, 2011
Tuesday 19th April, 2011
For most web sites, the possible performance gains from optimizing CSS selectors will be small, and are not worth the costs.
Friday 10th December, 2010
Hardboiled Web Design
This looks kind of interesting. Has anybody read it?

Hardboiled Web Design

This looks kind of interesting. Has anybody read it?

Mr. Webpage is also