每日总结
1.页面设计时从网上找的
* {
box-sizing: border-box;
}
.subbox table {
text-align: center;
border-spacing: 0;
color: #333;
border: 1px solid #ddd;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
table-layout:fixed;
WORD-BREAK:break-all;
}
.subbox td {
padding: 8px 16px;
font-size: 14px;
border-bottom: 1px solid #f4f4f4;
}
.subbox th {
padding: 16px;
}
.subbox img {
width: 40px;
border-radius: 50%;
}
.subbox tr:last-child > td {
border: 0;
}
.subbox tbody > tr:hover {
background-color: rgba(221, 221, 221, 0.2);
}
.subbox thead {
text-transform: uppercase;
font-size: 12px;
background-color: #efefef;
letter-spacing: 0.5px;
color: rgba(0, 0, 0, 0.4);
}
.option {
display: inline-block;
padding: 5px 10px;
background-color: #ddd;
border-radius: 4px;
margin-right: 15px;
}
.name {
min-width: 110px;
display: inline-block;
}
.comment {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 300px;
display: inline-block;
}
.option.is-blue {
background-color: #bceefd;
}
.option.is-orange {
background-color: #ffd89e;
}
.option.is-purple {
background-color: #e9cbff;
}