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

Multiple property declarations #140

Closed
bramsmulders opened this issue Sep 4, 2013 · 3 comments
Closed

Multiple property declarations #140

bramsmulders opened this issue Sep 4, 2013 · 3 comments

Comments

@bramsmulders
Copy link

I'm experiencing issues when i use two of the same properties in a ruleset.

.foo {
    padding: 20px;
    padding: 1.25rem;
    border-radius: 20px;
    border-radius: 1.25rem;
}

Compiles to:
.foo {
    padding: 1.25rem;
    border-radius: 1.25rem;
}

This is highly unwanted at the moment, since I'm still supporting ie8, and need the pixel fallback.
While this isn't working, the following code IS working:

.foo {
    background: #1e5799;
    background: linear-gradient(to bottom, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
}

Compiles to:
.foo {
    background: #1e5799;
    background: linear-gradient(to bottom,#1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
}
@antixrist
Copy link

Yes! I have the same problem.
It's a shame that it has been 4 months ago, but the progress in this matter didn't happen.

@clarabstract
Copy link

+1

I understand the motivation behind trying to remove such seemingly redundant declarations but unfortunately in the real world this is how we have to deal with fallback...

@lahmatiy
Copy link
Member

lahmatiy commented Oct 7, 2015

Filled common issue #241

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

4 participants