タグ

FirefoxとCSSに関するmasakitkのブックマーク (2)

  • CSSグラデーションのちょっとしたテクニック #2

    前回のエントリのような応用するための基というものではなく、CSSグラデーションはこういう使い方もできるよ的なもので3つ。普通のグラデーションの作り方はcss gradients in Firefox 3.6とかで。#3はない。 以下プレビュー画像のリンク先がデモ・ページになっているのでそちらも参照のこと。もちろん対応ブラウザのFirefox 3.6とSafari 4やChrome 4以降でないと動作デモは確認できない。 Vista風のテカってるボタン ありがちだけど作れたらなかなか便利そうなので挑戦してみたら、意外に簡単だった。実はdoubleなborderが重要で、これが無いとちょっと間抜けな感じになる。コード的には難しいことはなく、上半分にrgb(138, 138, 138)からrgb(102, 102, 102)、下半分にrgb(36, 36, 36)からrgb(0, 0, 0)と

  • css gradients in Firefox 3.6 – Mozilla Hacks - the Web developer blog

    Firefox 3.6 includes many CSS improvements. In this post we’re going to show you how to use CSS gradients. If you are running the latest beta of Firefox 3.6, you should check out our interactive demo and take a look at the corresponding code. Use the radio buttons to switch different style options on or off. Backgrounds with CSS Gradients Using CSS gradients in a background allows you to display s

    css gradients in Firefox 3.6 – Mozilla Hacks - the Web developer blog
  • 1