@buoge
2017-12-06T16:01:14.000000Z
字数 314
阅读 973
前端
tr {
background:#f3f900;
}
tr:not(:first-child):hover {
background: #ffffdd;
}
tr:not(:last-child):hover {
background: #ffffdd;
}
.a {
width: 80px;
height:60px;
background:#333;
border: #eee solid 1px;
}
.a:not(:first-of-type):not(:last-of-type):hover { /* First-Of-Type 似乎更稳定 */
background: #ffffdd;
}