leff

Mr. Webpage

a blog about putting content on the web
Monday 16th January, 2012
Thursday 10th November, 2011

CSS selector search/replace for html editors

Why doesn’t it exist? Quick, somebody, make an eclipse plugin. (and by ‘quick’ I obviously mean start a committee and work on it for a couple years. Gooooooo eclipse!)

Tuesday 1st November, 2011
Monday 10th October, 2011
Tuesday 27th September, 2011
Tuesday 20th 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
Monday 22nd August, 2011

Mr. Webpage is also