js+css实现新年快乐随机祝福文字代码
代码语言:html
所属分类:其他
代码描述:js+css实现新年快乐随机祝福文字代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
background-color: #c6070c;
color: #ffe392;
font-family: "Lato", Helvetica, Arial, Hiragino Sans GB W6, sans-serif;
text-align: center;
}
table {
padding-top: 80px;
margin: auto;
width: 30%;
}
.pinyin {
height: 20px;
font-size: 1.1em;
letter-spacing: 3px;
font-weight: 400;
}
td {
font-size: 8em;
text-align: center;
font-weight: 700;
padding: 0px;
}
h2 {
margin-top: 15px;
margin-bottom: 100px;
font-size: 3em;
text-transform: uppercase;
font-weight: 700;
word-spacing: 5px;
}
p {
font-weight: 700;
letter-spacing: 1px;
word-spacing: 2px;
}
button {
background-color: #ef941a;
color: #fffbe2;
width: 200px;
position: relative;
border-radius: 5px;
margin: 0;
padding: 0;
line-height: 0.5;
cursor: pointer;
border: none;
outline: none;
font-size: 0.9em;
text-transform:.........完整代码请登录后点击上方下载按钮下载查看
网友评论0