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

Handle pseudo elements like :before #16

Closed
TheJaredWilcurt opened this issue Oct 14, 2020 · 1 comment
Closed

Handle pseudo elements like :before #16

TheJaredWilcurt opened this issue Oct 14, 2020 · 1 comment
Labels
help wanted Extra attention is needed moved moved to to other repo

Comments

@TheJaredWilcurt
Copy link
Member

Probably something like this:

.cow {
    padding: 10px;
}
.cow:before {
    content: '';
    background: #F00;
}
.rp__padding__--COLON10px { padding: 10px }
.rp__content__--COLON__--SINGLEQUOTE__--SINGLEQUOTE___--BEFORE:before { content: '' }
.rp__background__--COLON__--OCTOTHORPF00___--BEFORE:before { background: #F00 }
.rp__a { padding: 10px }
.rp__b:before { content: '' }
.rp__c:before { background: #F00 }

Should support all pseudo elements

@TheJaredWilcurt TheJaredWilcurt added the help wanted Extra attention is needed label Oct 14, 2020
@TheJaredWilcurt TheJaredWilcurt added the moved moved to to other repo label Sep 13, 2021
@TheJaredWilcurt
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed moved moved to to other repo
Projects
Archived in project
Development

No branches or pull requests

1 participant