j9t’s avatarj9t’s Twitter Archive—№ 726

    1. #CSS. I’ve been studying custom properties (aka variables) for my personal projects—but there, vars proved not worth the effort and code. Not to toot my own horn, but one reason has been existing optimization: UDJO (using each declaration just once) is very effective. 1/2
  1. …in reply to @j9t
    Now, “UDJO” is not trivial. It has drawbacks. But it keeps code DRY, and it can make use of variables unnecessary. For more detail (and scrutiny) for this sort of optimization, check out meiert.com/en/blog/dry-css/ as well as respective chapter in leanpub.com/css-optimization-basics. 2/2