Skip to content

Instantly share code, notes, and snippets.

@aytacmalkoc
Created September 23, 2023 23:12
Show Gist options
  • Save aytacmalkoc/f0583c0fbec9e031a0e41f62566e5e4d to your computer and use it in GitHub Desktop.
Save aytacmalkoc/f0583c0fbec9e031a0e41f62566e5e4d to your computer and use it in GitHub Desktop.
CSS margin classes
/* Top */
.mt-10 {
margin-top: 10px;
}
.mt-20 {
margin-top: 20px;
}
.mt-30 {
margin-top: 30px;
}
.mt-40 {
margin-top: 40px;
}
.mt-50 {
margin-top: 50px;
}
.mt-60 {
margin-top: 60px;
}
.mt-70 {
margin-top: 70px;
}
.mt-80 {
margin-top: 80px;
}
.mt-90 {
margin-top: 90px;
}
.mt-100 {
margin-top: 100px;
}
.mt-110 {
margin-top: 110px;
}
.mt-120 {
margin-top: 120px;
}
.mt-130 {
margin-top: 130px;
}
.mt-140 {
margin-top: 140px;
}
.mt-150 {
margin-top: 150px;
}
.mt-160 {
margin-top: 160px;
}
.mt-170 {
margin-top: 170px;
}
.mt-180 {
margin-top: 180px;
}
.mt-190 {
margin-top: 190px;
}
.mt-200 {
margin-top: 200px;
}
/* Bottom */
.mb-10 {
margin-bottom: 10px;
}
.mb-20 {
margin-bottom: 20px;
}
.mb-30 {
margin-bottom: 30px;
}
.mb-40 {
margin-bottom: 40px;
}
.mb-50 {
margin-bottom: 50px;
}
.mb-60 {
margin-bottom: 60px;
}
.mb-70 {
margin-bottom: 70px;
}
.mb-80 {
margin-bottom: 80px;
}
.mb-90 {
margin-bottom: 90px;
}
.mb-100 {
margin-bottom: 100px;
}
.mb-110 {
margin-bottom: 110px;
}
.mb-120 {
margin-bottom: 120px;
}
.mb-130 {
margin-bottom: 130px;
}
.mb-140 {
margin-bottom: 140px;
}
.mb-150 {
margin-bottom: 150px;
}
.mb-160 {
margin-bottom: 160px;
}
.mb-170 {
margin-bottom: 170px;
}
.mb-180 {
margin-bottom: 180px;
}
.mb-190 {
margin-bottom: 190px;
}
.mb-200 {
margin-bottom: 200px;
}
/* Top & Bottom */
.my-10 {
margin-top: 10px;
margin-bottom: 10px;
}
.my-20 {
margin-top: 20px;
margin-bottom: 20px;
}
.my-30 {
margin-top: 30px;
margin-bottom: 30px;
}
.my-40 {
margin-top: 40px;
margin-bottom: 40px;
}
.my-50 {
margin-top: 50px;
margin-bottom: 50px;
}
.my-60 {
margin-top: 60px;
margin-bottom: 60px;
}
.my-70 {
margin-top: 70px;
margin-bottom: 70px;
}
.my-80 {
margin-top: 80px;
margin-bottom: 80px;
}
.my-90 {
margin-top: 90px;
margin-bottom: 90px;
}
.my-100 {
margin-top: 100px;
margin-bottom: 100px;
}
.my-110 {
margin-top: 110px;
margin-bottom: 110px;
}
.my-120 {
margin-top: 120px;
margin-bottom: 120px;
}
.my-130 {
margin-top: 130px;
margin-bottom: 130px;
}
.my-140 {
margin-top: 140px;
margin-bottom: 140px;
}
.my-150 {
margin-top: 150px;
margin-bottom: 150px;
}
.my-160 {
margin-top: 160px;
margin-bottom: 160px;
}
.my-170 {
margin-top: 170px;
margin-bottom: 170px;
}
.my-180 {
margin-top: 180px;
margin-bottom: 180px;
}
.my-190 {
margin-top: 190px;
margin-bottom: 190px;
}
.my-200 {
margin-top: 200px;
margin-bottom: 200px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment