CSS でこのようなボタンを作成するにはどうすればよいですか?
試してみましたが、このような境界線で最終的な行を作成する方法を想像できません..私の結果: http://jsfiddle.net/UPpfw/
.button_push{
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
width: 189px;
height: 54px;
display: block;
}
.button_green{
background: #4ec9a6;
border-bottom: 7px solid #00a09a;
}
私は問題を解決しましたが、解決策は次のとおりです: http://jsfiddle.net/TmQzX/
.button_push{
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
width: 189px;
height: 54px;
display: block;
text-align: center;
line-height: 47px;
text-decoration: none;
}
.button_white{
background: #4ec9a6;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
width: 189px;
height: 49px;
display: block;
}
.try_button{
width: 189px;
height: 54px;
position: relative;
top: 212px;
margin: auto;
}