如果文档宽度小于 300 像素则修改背景颜色(background-color):
@media (max-width: 330px) {
#tbodya>tr td:nth-child(1){
width: 50%;
}
}
如果文档宽度大于 1000 像素则修改背景颜色(background-color):
@media (min-width: 1000px) {
#tbodya>tr td:nth-child(1){
width: 50%;
}
}