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

Add px and py rules to padding rules. #5

Closed
manuel12 opened this issue Jun 24, 2023 · 5 comments
Closed

Add px and py rules to padding rules. #5

manuel12 opened this issue Jun 24, 2023 · 5 comments
Assignees
Labels
css only This fix/enhancement only involves CSS files enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@manuel12
Copy link
Owner

A px rule is a padding rule that only affects left and right padding(horizontals hence the x) and is written like so:

.px {
  padding-left: auto.
  padding-right auto.
} 

A py rule is a padding rule that only affects top and bottom padding(verticals hence the y) and is written like so:

.py {
  padding-top: auto.
  padding-bottom auto.
}
@manuel12 manuel12 added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jun 24, 2023
@hasanrashid
Copy link
Contributor

I'd like to take this on

@manuel12
Copy link
Owner Author

Yes of course. Go ahead :)

@manuel12 manuel12 added the css only This fix/enhancement only involves CSS files label Jun 26, 2023
@manuel12
Copy link
Owner Author

manuel12 commented Jul 5, 2023

@hasanrashid Hello it's been a week. When do you think you can have this? :)

@hasanrashid
Copy link
Contributor

@manuel12 On its way tonight

manuel12 added a commit that referenced this issue Jul 6, 2023
Issue #5: Add two classes that would allow auto padding
@manuel12
Copy link
Owner Author

manuel12 commented Jul 6, 2023

Closing as done.

@manuel12 manuel12 closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css only This fix/enhancement only involves CSS files enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants