个人课堂练习01
3月15日
今天进行了web端的政策查询的实现,借鉴了一些学长的一些代码,
//policy
* {
padding: 0;
margin: 0;
font-family: 'Open Sans Light';
letter-spacing: .05em;
margin: 0 auto;
text-align: center;
}
html {
height: 100%;
}
body {
height: 100%;
font: normal 20px auto “Trebuchet MS”, Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
background: #E6EAE9;
}
a {
color: #c75f3e;
}
table {
width: 100%;
padding: 0;
margin: 0;
}
caption {
padding: 0 0 5px 0;
width: max-content;
font: italic 30px “Trebuchet MS”, Verdana, Arial, Helvetica, sans-serif;
text-align: right;
}
th {
font: bold 30px “Trebuchet MS”, Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border: 0;
letter-spacing: 2px;
text-transform: uppercase;
text-align: center;
height: 40px;
padding: 6px 6px 6px 12px;
background: #CAE8EA no-repeat;
background-size: cover;
}
th.nobg {
border-top: 0;
border-left: 0;
border: 0;
background: none;
}
td {
height: 30px;
border: 0;
background: #fff;
font-size:30px;
color: #4f6b72;
}
th.spec {
border-left: 1px solid #C1DAD7;
border-top: 0;
background: #fff no-repeat;
font: bold 10px “Trebuchet MS”, Verdana, Arial, Helvetica, sans-serif;
}
th.specalt {
border-left: 1px solid #C1DAD7;
border-top: 0;
background: #f5fafa no-repeat;
font: bold 10px “Trebuchet MS”, Verdana, Arial, Helvetica, sans-serif;
color: #797268;
}
td.alt {
background: #F5FAFA;
color: #797268;
}
/*———for IE 5.x bug*/
html>body td{ font-size:20px;}
body,td,th {
font-family: 宋体, Arial;
font-size: 15px;
}
标签:01,Arial,课堂练习,个人,color,Helvetica,background,font,border From: https://www.cnblogs.com/hlhl/p/18257639