Alternate values #6

Closed
addbrick opened this Issue Sep 13, 2012 · 2 comments

2 participants

@addbrick

Display the alternate values for a property. For example for margin you display:
[margin-top] [margin-right] [margin-bottom] [margin-left]
why not also display
[margin-top] [margin-right & margin-left] [margin-bottom]
[margin-top & margin-bottom] [margin-right & margin-left]
[margin-top & margin-right & margin-bottom & margin-left] or [all margins]

same goes for padding and any other property like that.

@impressivewebs

Yeah, I considered something like that, but because those properties are so simple, I felt it was okay to omit. I wanted to keep it clean.

What I will do is add a "further info" note that explains that when one or more values are omitted, the existing values are assumed to be the same as the ones omitted (or something less convoluted than that!). Thanks.

@impressivewebs

I've added a "further info" explanation for this to the appropriate shorthand properties. Example:

http://cssvalues.com/#padding%20

I assume that is satisfactory, so I'll close this issue.

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