Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

gradients old syntax to new syntax #18

Open
karlcow opened this issue Mar 8, 2016 · 0 comments
Open

gradients old syntax to new syntax #18

karlcow opened this issue Mar 8, 2016 · 0 comments

Comments

@karlcow
Copy link
Member

karlcow commented Mar 8, 2016

when there is a linear-gradient like this

.maia-button {
    background: -webkit-linear-gradient(top, #7ddc1f 0, #64c306 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #7ddc1f 0), color-stop(1, #64c306 100%));
    background: -moz-linear-gradient(top, #7ddc1f 0, #64c306 100%);
    background: -moz-gradient(linear, left top, left bottom, color-stop(0, #7ddc1f 0), color-stop(1, #64c306 100%));
    background: linear-gradient(top, #7ddc1f 0, #64c306 100%);
    background-color: #7ddc1f;
    border-color: #5dba00;
    font: 15px/22px 'Open sans', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: .5px;
    padding: 9px 33px
}

it should be fixed as:

  background: linear-gradient(to bottom, #7ddc1f 0, #64c306 100%);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant