minifyGradients

Normalizes linear and radial gradient parameters.

.box {
    background: linear-gradient(to bottom, #ffe500 0%, #ffe500 50%, #121 50%, #121 100%);
}
.box {
    background: linear-gradient(180deg, #ffe500, #ffe500 50%, #121 0, #121);
}

View on GitHub