帮我创意一个表白的html
时间: 2023-11-13 18:17:40 浏览: 46
<!DOCTYPE html>
<html>
<head>
<title>表白</title>
<meta charset="utf-8">
<style>
body {
background-color: pink;
font-family: Arial, sans-serif;
}
h1 {
text-align: center;
color: white;
font-size: 3em;
margin-top: 50px;
}
p {
text-align: center;
color: white;
font-size: 2em;
margin-top: 50px;
}
button {
background-color: white;
color: pink;
font-size: 1.5em;
border-radius: 10px;
padding: 10px;
border: none;
cursor: pointer;
margin-top: 50px;
}
button:hover {
background-color: pink;
color: white;
}
</style>
</head>
<body>
<h1>我喜欢你</h1>
<p>你是我的梦想,我的未来</p>
<button onclick="alert('我也喜欢你')">表白</button>
</body>
</html>
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![-](https://csdnimg.cn/download_wenku/file_type_column_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)