linear gradient for border image #105

megheaiulian opened this Issue Jun 6, 2012 · 2 comments


None yet
3 participants

This code triggers a compile error
border-image linear-gradient(top, #b2b2b2 0%, #5b5b5b 100%)

Because border image is a vendor mixin the current-property 0 in line-greadient becomes null.


kizu commented Jun 6, 2012

It's fixed in #94, but the whole code for new gradients is now only in my fork. I'll fix a few things there and then send pull request, so the fix would be shipped ~soon.

Not sure if it is related to this but when I try this:

border-image linear-gradient(left, red, blue) 1 100%

I get the following error:

  106| linear-gradient(start, stops...)
  107|   error('color stops required') unless length(stops)
> 108|   prop = current-property[0]
  109|   val = current-property[1]
  111|   if start is a 'color'

I am running version 0.8.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment