扫码下载编程狮APP
<!DOCTYPE html> <html> <head> <style type='text/css'> div:nth-last-child(2) { color: red; } </style> </head> <body> <div class="my_div">a</div> <div class="my_div">b</div> <div class="my_div">c</div> <div>other</div> </body> </html>
The code above is rendered as follows:
联系方式:
扫描二维码
下载编程狮App
扫码关注 领资料包