Use a <meter> tag to display age percentages

This commit is contained in:
Javi Martín
2018-12-20 18:31:48 +01:00
parent 0037ce5546
commit 7ce57f649f
3 changed files with 27 additions and 7 deletions

View File

@@ -80,4 +80,29 @@
}
}
}
meter {
background: none;
background-color: #ebf0f4;
border-radius: 0.3rem;
display: block;
width: 100%;
}
meter::-moz-meter-bar {
background: #52a4ee;
border-bottom-left-radius: 0.3rem;
border-top-left-radius: 0.3rem;
}
meter::-webkit-meter-optimum-value {
background: #52a4ee;
border-bottom-left-radius: 0.3rem;
border-top-left-radius: 0.3rem;
}
meter::-webkit-meter-bar {
background: #ebf0f4;
border-radius: 0.3rem;
}
}