Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Add auto to margin CSS code hint#6359

Merged
redmunds merged 1 commit intoadobe:masterfrom
stowball:MarginAutoCSSCodeHint
Jan 7, 2014
Merged

Add auto to margin CSS code hint#6359
redmunds merged 1 commit intoadobe:masterfrom
stowball:MarginAutoCSSCodeHint

Conversation

@stowball
Copy link
Copy Markdown
Contributor

@stowball stowball commented Jan 4, 2014

The margin property allows the use of the keyword "auto", which is commonly used for centering elements. See https://developer.mozilla.org/en-US/docs/Web/CSS/margin for info

@ghost ghost assigned redmunds Jan 5, 2014
@redmunds
Copy link
Copy Markdown
Contributor

redmunds commented Jan 7, 2014

Thanks. We haven't decided yet how to handle shorthand properties, but this is an improvement.

Also, w3.org links (e.g. http://www.w3.org/TR/CSS2/box.html#margin-properties) are better since they are always browser-agnostic.

Merging.

redmunds added a commit that referenced this pull request Jan 7, 2014
@redmunds redmunds merged commit 87080f9 into adobe:master Jan 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants