Skip to content

linear gradient for border image #105

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

Closed
megheaiulian opened this issue Jun 6, 2012 · 2 comments
Closed

linear gradient for border image #105

megheaiulian opened this issue Jun 6, 2012 · 2 comments

Comments

@megheaiulian
Copy link

megheaiulian commented Jun 6, 2012

This code triggers a compile error
input
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
Copy link
Member

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.

@hfjallemark
Copy link

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]
  110|
  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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants