jpablobr/css2sass

appended exclamation?

Closed this issue · 1 comments

Hi there

This isn't actually an issue, more a question. I love this little tool, but I'm finding one thing to be quite confusing. Some style rules end up having an ! appended to the end of the selector and I can't find reference to that syntax.

e.g.

.top_label {
            input.medium, select.medium {
                width : 50%;
            }
            input.large!,
            select.large!,
            textarea.textarea! { }
            input.large,
            select.large,
            textarea.textarea {
                width : 100%;
            }
        }

What is actually happening with that exclamation? The phpStorm IDE picks this up as a syntax error and clearly, no style rules are applied.

Is this moving toward the CSS4 parent selector?

Cheers

I'm actually not sure 😕 Css2sass relies on Sass::css built in parser. So if you're really interested it would be better to open an issue over there.