Skip to content

Instantly share code, notes, and snippets.

@iashris
Created September 12, 2020 20:04
Show Gist options
  • Save iashris/172fe54f150e9684ff1e041a19caa080 to your computer and use it in GitHub Desktop.
Save iashris/172fe54f150e9684ff1e041a19caa080 to your computer and use it in GitHub Desktop.
Atomic Classes
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
}
.text-center {
text-align: center;
}
.full-width {
width: 100%;
}
.width-50 {
width: 50%;
}
.relative {
position: relative;
}
.absolute {
position: absolute;
}
.fixed {
position: fixed;
}
.white {
color: $white;
}
.blue {
color: $primary;
}
.dark_text {
color: $text_dark;
}
.grey {
color: $grey;
}
.bold {
font-weight: bold;
}
.weight-500 {
font-weight: 500;
}
.default-border-radius {
border-radius: 4px;
}
.white-background {
background-color: $white;
}
.primary-background {
background-color: $primary;
}
.flex {
display: flex;
}
.flex-column {
flex-direction: column;
}
.flex-center {
align-items: center;
}
.flex-end {
align-items: flex-end;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-space-between {
justify-content: space-between;
}
.flex-justify-center {
justify-content: center;
}
.border-box {
box-sizing: border-box;
}
.top-index {
z-index: 100;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment