I want to get pre-last child of children elements
Example:

<table>
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- 1 -->
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- 2 -->
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- 3 -->
...//<!-- ... -->
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- m -->
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- m - 1 -->
</table>

I want to get all pre td elements selector in css styles, like

table tr td:last-child(-1){
/* to do */
}