Home >Web Front-end >HTML Tutorial >html button problem_html/css_WEB-ITnose
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /></head><body><input type="button" value="next" style="color:#FFFFFF;background-color:#0065CA;font-family:BorderWebBOLD;font-size: 15px;Font-Weight:bold;" onClick="btnApply()"> </body></html>
Standard CSS2 cannot make rounded corners
Unless you add a lot of elements to simulate it, then this It is better to add a picture to save trouble
Pure CSS actual button, rounded corners, three-dimensional effect
Design a semi-arc btn_bg.gif transparent background image on both sides
.btn{
width:**px; height:**px;
background:url(btn_bg.gif) no-repeat;
}
75ec05929d958ea373081a6c377f5140
CSS3 attribute border-radius: 3px 4px 5px 6px; Only some browsers support it (standard browsers and IE9 or above).
Pure CSS actual button, rounded corners, three-dimensional effect
111