Does css have a way of applying a first and last child into one div? I want the first and last child to both have the same properties.
.productImageTable ul li:first-child{
text-align: center;
padding-top:40px;
font-size: 20pt;
}
.productImageTable ul li:last-child{
text-align: center;
padding-top:40px;
font-size: 20pt;
}