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.

Add a space between styles and subclasses

See original GitHub issue

I have a code:

.class {
  width: 100px;
  height: 100px;
  .subclass {
    color: red;
  }
}

I want add a space between height: 100px; and .subclass {.

Example:

.class {
  width: 100px;
  height: 100px;
                                      <- indent
  .subclass {
    color: red;
  }
}

Can I do it?

<bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29300623-add-a-space-between-styles-and-subclasses?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 8 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vincentaudebertcommented, Apr 15, 2016

I think this is a duplicate of https://github.com/csscomb/csscomb.js/issues/210 And there is a PR for this: https://github.com/csscomb/csscomb.js/pull/405

It is currently on dev branch.

0reactions
jdaltoncommented, Apr 26, 2019

Closed by #436.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSS Classes & SubClasses - Stack Overflow
Just put a space between .area1 and .item, e.g: .area1 .item { color:red; }. this style applies to elements with class item inside...
Read more >
Change the spaces between text - Microsoft Support
Change spacing between characters, kern fonts, stretch or scale text, and set line ... Find the style you're using in the Styles gallery...
Read more >
The Sass Ampersand - CSS-Tricks
Adding another class ... basic nesting would put a space between them like this… ... I've wanted to do something like this before:...
Read more >
Spacing in Bootstrap - Scaler Topics
Spacing in Bootstrap can be added between elements by adding custom ... Awesome Style Sheets) map and can be used to add spaces...
Read more >
CSS Modules by Example - JavaScript Stuff
We are using the classnames package here to combine classnames. In this situation it just adds a space between the two classnames.
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