question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

space-after-colon hates pseudo class selectors in nested LESS

See original GitHub issue

Input:

.broken {          
    a:hover {              
        color: #fff;
    }              
}                  

After:

.broken             
{
    a: hover        
    {               
        color: #fff;
    }               
}                   

Look at the space after a:.

<bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4293223-space-after-colon-hates-pseudo-class-selectors-in-nested-less?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github). </bountysource-plugin>

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:2
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
boneyfantaseascommented, Nov 18, 2016

Label status:fixed is false, issue is still open. I have this issue using sublime-csscomb.

1reaction
jdaltoncommented, May 6, 2019

This is fixed in the latest csscomb release 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found