前の記事 «:ねこでコメントスパムを防ぐ「Auth_Kitten」
次の記事 »:CSSオンリーでロールオーバーマップ

CSSでWEB2.0風ボタンを作成するサンプル

2007年06月15日

スポンサード リンク
filament group inc. || Styling the Button Element with Sliding Doors
Particle Tree recently posted an article describing a technique they've come up with the style the button element. For those who aren't familiar, form buttons are notoriously difficult to customize.
CSSでWEB2.0風ボタンを作成するサンプル。
buttonタグで、次のようなWEB2.0風なカッコいいボタンが作れるサンプルが提供されています。



HTMLタグはこんな感じ。
<button value="submit" class="submitBtn"><span>Submit</span></button>

Submit 部分を変えれば、画像を新規に作成しないでも新しいボタンが作れて便利ですね。

サンプルは、IE6/7, Firefox , Safari, Opera に対応しているようです。
スポンサード リンク

投稿者 KJ : 2007年06月15日 07:08 | ブックマークに追加する Subscribe with livedoor Reader
間違いの指摘をしていただける方はメールでお願いします


本を執筆しました。