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

single-colon to double-colon pseudo-elements #704

Open
l3rodey opened this issue May 23, 2020 · 0 comments
Open

single-colon to double-colon pseudo-elements #704

l3rodey opened this issue May 23, 2020 · 0 comments

Comments

@l3rodey
Copy link

l3rodey commented May 23, 2020

Single-colon selectors are pseudo-selectors not pseudo-elements, the outputted CSS is currently using :before instead of ::before.

CSS-Tricks have a great article on it: https://css-tricks.com/to-double-colon-or-not-do-double-colon/

Unless trying to support pre-IE-8 the double should be used for a number of reasons.

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

1 participant