使用html和css代码写出一个按钮
<html>
<head>
<style>
/* 设置按钮样式 */
.myButton {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
</style>
</head>
<body>
<!-- 创建一个按钮 -->
<button class="myButton">点击我</button>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/L9H 著作权归作者所有。请勿转载和采集!