タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

forecastとcodingとcssに関するcu39のブックマーク (2)

  • CSS Variables と CSS の未来

    ここ数年にリリースされたウェブブラウザは W3C の仕様に従いつつ、実験的に独自の要素を実装して表現の幅を広げようとしています。CSS まわりでは WebKit がリードしているのではないでしょうか。マルチカラムや複数背景画像のような CSS3 にあるものから、反射やマスクのような変わったものまで実に様々です。 最近 WebKit のほうにも実装され、今月の CSS WG で草案化する可能性がある仕様で CSS Variables というのがあります。その名のとおり「CSS で変数を扱う」というもので、値を一元管理出来るようになります。詳しくは withD のこちらの記事が参考になりますが、サンプルコードを書くとこんなかんじです。 @variables { companyTheme: #069 highlight: #ffc; PageTitleSize: 18px; SubheaderS

    CSS Variables と CSS の未来
  • Why “variables” in CSS are harmful

    Why “variables” in CSS are harmful – an essay Adding any form of macros or additional scopes and indirections, including symbolic constants, is not just redundant, but changes CSS in ways that make it unsuitable for its intended audience. Given that there is currently no alternative to CSS, these things must not be added. Introduction There are certain kinds of extensions to CSS that people have r

    cu39
    cu39 2009/03/19
    ほほう。
  • 1