html写一个一点就转到百度的美丽的按钮
<!DOCTYPE html>
<html>
<head>
<title>美丽的按钮</title>
<style>
button {
background-color: #ff69b4;
color: white;
font-size: 24px;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
</head>
<body>
<button onclick="window.location.href='https://www.baidu.com'">去百度一下</button>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/b5g9 著作权归作者所有。请勿转载和采集!