Skip to content

Instantly share code, notes, and snippets.

@muayyad-alsadi
Last active August 29, 2015 14:05
Show Gist options
  • Save muayyad-alsadi/359a18486dc8b67838e3 to your computer and use it in GitHub Desktop.
Save muayyad-alsadi/359a18486dc8b67838e3 to your computer and use it in GitHub Desktop.
magin-left: 500px;
becomes:
margin-left: auto;
margin-right: 500px
while
margin: A B C D;
which means (margin-right: B;margin-left: D;)
and thus becomes
margin-left: B;
margin-right: D;
There is no need to edit the following styles
margin: A;
margin: A B;
margin: A B C;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment