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

Adds left and right margin-auto utility classes #270

Merged
merged 2 commits into from Jul 29, 2020

Conversation

sebnitu
Copy link
Owner

@sebnitu sebnitu commented Jul 29, 2020

Problem

There's currently only a way to add both left and right auto margins with the margin-auto utility.

Solution

This PR introduces two new margin-auto utility classes:

  • margin-left-auto Sets the margin-left property to auto
  • margin-right-auto Sets the margin-right property to auto

@sebnitu sebnitu merged commit a97c30e into master Jul 29, 2020
@sebnitu sebnitu deleted the add-margin-auto-utility branch July 29, 2020 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant