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

No space needed after rgb/rgba color #165

Closed
GoalSmashers opened this issue Nov 2, 2013 · 2 comments
Closed

No space needed after rgb/rgba color #165

GoalSmashers opened this issue Nov 2, 2013 · 2 comments
Assignees
Milestone

Comments

@GoalSmashers
Copy link
Contributor

a{text-shadow:rgba(255,255,255,.5) -1px -1px -1px}

into

a{text-shadow:rgba(255,255,255,.5)-1px -1px -1px}

Does it apply with 0 and/or positive numbers ,.5) 5px?

@ghost ghost assigned GoalSmashers Nov 2, 2013
@GoalSmashers
Copy link
Contributor Author

Apparently it applies to 0, positive numbers, and anything that stands after a trailing parenthesis too. rgb, rgba, hsl and hsla work fine as well.

It even applies to sth like url(..)no-repeat but this does not work in IE<9 so we can't use it.

@GoalSmashers
Copy link
Contributor Author

Does not apply to rgb and hsl since we already turn them into hex.

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

1 participant