beercss / beercss

Build material design interfaces in record time... without stress for devs... πŸΊπŸ’›
https://www.beercss.com
MIT License
937 stars 47 forks source link

directional margin and padding #255

Closed coffeeandwork closed 4 months ago

coffeeandwork commented 4 months ago

We have the following directional css classes for corner rounding of elements:

Would it make sense to add similar helper classes for margins:

and for padding:

@leonardorafael I would be happy to implement if this makes sense for the project. Please let me know your thoughts.

myrp-leonardo commented 4 months ago

Hi, I guess it's already exists here.

https://github.com/beercss/beercss/blob/main/docs/HELPERS.md#margins https://github.com/beercss/beercss/blob/main/docs/HELPERS.md#paddings

I'm using these helpers like this:

<div class="left-padding"></div>
<div class="small-padding left-padding"></div>
<div class="small-padding left-padding top-padding"></div>
<div class="small-padding vertical-padding"></div>