2011-08-16 3 views
0

gmailの「新しいアカウントを作成する」のようにボタンのスタイルを設定する方法を教えてください。下に私はそのボタンのイメージを与えています
enter image description heregmailのようなボタンの枠を適用する「新しいアカウントを作成する」ボタン

ありがとうございました。

+1

あなたはそのページで使用しているCSSを見たり、画像であれば_tiny_ビットの研究を行い、グラデーションを使用して同じ効果を作成できますか?イニシアティブを取ってください。 – Bojangles

答えて

3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html> 
<head> 
<style type="text/css"> 
button 
{ 
border:2px solid #a1a1a1; 
padding:10px 40px; 
background:#dddddd; 
width:300px; 
border-radius:15px; 
-moz-border-radius:25px; /* Firefox 3.6 and earlier */ 
} 
</style> 
</head> 
<body> 

<button style="height: 70px; width: 400px">Create Account</button> 

</body> 
</html> 
関連する問題