Skip to content Skip to sidebar Skip to footer

What Do Css Classes Like My-2, My-lg-0, Mr-sm-2 Do In Bootstrap 4?

I have looked at other questions and the bootstrap documentation and cant seem to find out what these classes do to elements. Any help is appreciated! Im just trying to make my sea

Solution 1:

Those are bootstrap spacing utilities classes :

mr-sm-2:

r - for classes that set margin-right or padding-right

my-2, my-lg-0:

y - for classes that set both *-top and *-bottom

the m

m - for classes that set margin

you can see the notation from boostrap spacing here


sm and lg are utilities classes that everyone who uses bootstrap are use to see it:

sm - small

lg - large

Post a Comment for "What Do Css Classes Like My-2, My-lg-0, Mr-sm-2 Do In Bootstrap 4?"