Skip to content

Instantly share code, notes, and snippets.

@EileenJuergens
Created February 26, 2021 11:30
Show Gist options
  • Save EileenJuergens/58ffb1984fe347c477c6e70b36e83e8e to your computer and use it in GitHub Desktop.
Save EileenJuergens/58ffb1984fe347c477c6e70b36e83e8e to your computer and use it in GitHub Desktop.
KPI Card CSS
.kpi-card {
flex: 0 0 100%;
max-width: 100%;
padding: 8px;
@include bp-medium {
flex-basis: 0;
flex-grow: 1;
max-width: 100%;
}
}
.kpi-card__style {
display: flex;
background-color: #FFFFFF;
border: 1px solid #CCCCCC;
}
.kpi-card__mobile__align {
justify-content: space-between;
padding: 16px;
border-radius: 8px;
}
.kpi-card__mobile__title {
font-size: 17px;
color: #555555;
margin: 0;
}
.kpi-card__mobile__value {
color: #555555;
font-size: 18px;
margin: 0;
font-weight: bold;
}
.kpi-card__web__align {
flex-direction: column;
padding: 18px 16px 32px 24px;
border-radius: 4px;
}
.kpi-card__web__icon-text-container {
display: flex;
flex-direction: row;
align-items: center;
}
.kpi-card__web__title {
font-size: 15px;
margin-bottom: 8px;
color: #555555;
}
.kpi-card__web__value {
color: #555555;
font-size: 30px;
margin: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment