space-after-colon hates pseudo class selectors in nested LESS
See original GitHub issueInput:
.broken {
a:hover {
color: #fff;
}
}
After:
.broken
{
a: hover
{
color: #fff;
}
}
Look at the space after a:
.
Issue Analytics
- State:
- Created 9 years ago
- Reactions:2
- Comments:10 (1 by maintainers)
Top Results From Across the Web
css - Why is less inserting a space between class name and ...
I trying to add a :hover pseudo selector using Less. But every time I try It adds a space between the class name...
Read more >Pseudo-classes - CSS: Cascading Style Sheets | MDN
A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected element(s). For example, the pseudo-class...
Read more >Meet the Pseudo Class Selectors | CSS-Tricks
Pseudo class selectors are CSS selectors with a colon preceding them. You are probably very familiar with a few of them. Like hover:...
Read more >How the CSS :is, :where and :has Pseudo-class Selectors Work
Pseudo -class selectors target HTML elements based on their current state. ... It's easy to construct deeply nested selectors that become ...
Read more >[css-nesting] How to resolve nested CSS with pseudo ... - GitHub
first reported here : csstools/postcss-plugins#510 relevant specification parts: https://www.w3.org/TR/css-nesting-1/#nest-selector The ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Label status:fixed is false, issue is still open. I have this issue using sublime-csscomb.
This is fixed in the latest csscomb release 😄