css-pseudo-class-last-child
RUN
<!DOCTYPE html> <html> <head> <style> p:last-child { background-color: red; color: yellow; } </style> </head> <body> <p>Phần tử thứ nhất.</p> <p>Phần tử thứ hai.</p> <p>Phần tử thứ ba.</p> <p>Phần tử thứ tư.</p> </body> </html>
PHÓNG TO