效果:
代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>zuoye3</title>
<style type="text/css">
input{
border-radius: 10px;
font-size: 15px;
width: auto;
height: auto;
}
input:hover{
color: aliceblue;
background-color: #ff5500;
}
</style>
</head>
<body>
<input type="button" value="Java基础"/>
<input type="button" value="HTML"/>
<input type="button" value="Spring"/>
<input type="button" value="Myhabits"/>
<input type="button" value="Vue"/>
</body>
</html>