We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:last-child
When serving an index.html file with live-server the CSS selector :last-child doesn't select an element.
live-server
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>'index.html'</title> <link rel="icon" href="data:," /> <style> body div:last-child { background: blue; } </style> </head> <body> <div id="inlineWrapper"> <a href="#" target="_blank">Anchor Text</a> </div> <div id="blockWrapper"> <a href="#" target="_blank">Anchor Text</a> </div> </body> </html>
The text was updated successfully, but these errors were encountered:
For more information, look here please: ritwickdey/vscode-live-server#174
Sorry, something went wrong.
same problem here
No branches or pull requests
Issue description
When serving an index.html file with live-server the CSS selector
:last-child
doesn't select an element.Software details
live-server
:live-server
live-server
version: 1.2.1Example
The text was updated successfully, but these errors were encountered: