Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Allow slash in box-shadow values #319

Closed
timeinfeldt opened this Issue · 2 comments

4 participants

timeinfeldt Francisc Romano Michael Mattiacci Nicholas C. Zakas
timeinfeldt

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 Romano

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

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

Michael Mattiacci mattiacci referenced this issue in CSSLint/parser-lib
Merged

Fix validation of border-radius #36

Michael Mattiacci

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;

Nicholas C. Zakas nzakas closed this in 6e19625
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.