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

not-last-of-type:xxx 等伪类不生效 #52

Open
hansondy opened this issue Mar 8, 2024 · 2 comments
Open

not-last-of-type:xxx 等伪类不生效 #52

hansondy opened this issue Mar 8, 2024 · 2 comments

Comments

@hansondy
Copy link

hansondy commented Mar 8, 2024

使用class="not-last-of-type:mb-8">伪类时编译成小程序后发现css文件没有生成对应类的样式,导致样式不生效

@Skiyee
Copy link
Member

Skiyee commented May 3, 2024

04c160884e0b25b586b8ec302d7de17a

目前测试是可以正常生成的,但编译成小程序后,貌似是被 uniapp 给处理掉了

@Skiyee
Copy link
Member

Skiyee commented May 9, 2024

可以试试用这种写法代替: [&:not(:last-of-type)]:xxx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants