Skip to content
New issue

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

support css last-child #148

Closed
1 task done
suyulin opened this issue Nov 24, 2022 · 2 comments
Closed
1 task done

support css last-child #148

suyulin opened this issue Nov 24, 2022 · 2 comments
Assignees
Labels
bug Something isn't working CSS w3c css standard features

Comments

@suyulin
Copy link
Contributor

suyulin commented Nov 24, 2022

Affected version

0.13beta

No same issues found.

  • Yes, I search all issues but not found.

Steps to Reproduce

.myclass:last-child{

}

Code example

.myclass:last-child{

}

Expected results

support

Actual results

not support

@suyulin suyulin added the bug Something isn't working label Nov 24, 2022
@suyulin suyulin added the CSS w3c css standard features label Nov 25, 2022
@suyulin suyulin self-assigned this Dec 1, 2022
@devjiangzhou devjiangzhou self-assigned this Dec 3, 2022
@devjiangzhou
Copy link
Contributor

devjiangzhou commented Dec 3, 2022

<!DOCTYPE html>
<html>
<head>
  <style>
       .test:first-child{color:#0f0;}
       .test:last-child{color:#f00;}
    </style>
</head>
<body>
<div>
  <h2 class="test">我是一个标题</h2>
  <p class="test">我是一个p</p>
</div>
</body>
</html>

@suyulin 没复现, 看下?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CSS w3c css standard features
Projects
Status: Done
Development

No branches or pull requests

2 participants