CSS Hacks まとめ (9) Inline high pass filter
はじめに
d:id:ZIGOROu:20070116:1168900766のinのinline版です。
どんな物か
<style type="text/css"> p.attention { background:yellow } i{content:"\"/*"} p.attention { background:lime } </style>
i要素に当ててるルールのcontentの中身が誤解釈されて古いブラウザだとそれ以降のスタイルが当たらないよって事。
背景がlimeになるのが、
です。
まとめ
場合によっては使えるかもしれないですな。