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

Allow slash in box-shadow values #319

Closed
timeinfeldt opened this issue Nov 8, 2012 · 2 comments
Closed

Allow slash in box-shadow values #319

timeinfeldt opened this issue Nov 8, 2012 · 2 comments

Comments

@timeinfeldt
Copy link

Hi,

CSSLint marks the following as error:

border-radius: 100px/10px;

Expected (<'border-radius'>) but found '/'.

As far as I can tell this is valid syntax for specifying horizontal and vertical values separately.

Opinions?

@Francisc
Copy link

Francisc commented Nov 8, 2012

It is valid. You use that syntax to specify an ellipse arc.

https://developer.mozilla.org/en-US/docs/CSS/border-radius

@mattiacci
Copy link
Contributor

I've opened a pull request which should fix this issue in parser-lib: CSSLint/parser-lib#36

In the meantime, you can use the following workaround:

border-radius: 100px 100px / 10px;

@nzakas nzakas closed this as completed in 6e19625 Nov 13, 2012
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