Home >Web Front-end >HTML Tutorial >css selects the first to second to last element_html/css_WEB-ITnose
css ie8
I now want to set the height of tr. There are 9 trs. How can I use css to select the first eight and set them to height: 90px; and set the last one to 40px?
$("tr").css("height","90px");$("tr:last").css("height","40px");