-
-
Notifications
You must be signed in to change notification settings - Fork 130
Adding SCSS Margin and Padding Helpers, #211
dinesh-here
started this conversation in
Ideas
-
Add Margin and Padding utility helper scss class's using for loop
By using for loop on scss we can generate the class for margin and padding for top , bottom, left and right
.mt-5 {
margin-top: 5px;
}
.mx-5 {
margin: 0 5px;
}
....
..
.pb-30{
padding-bottom:30;
}
.py-30 {
padding: 30px 0;
}
Hope this util class generation will help to implement spacing in scss.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Hey, there. Thanks for the idea. Sorry for not replying quickly xD. Of course, feel free to add useful scss snippets
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment