Skip to content

Instantly share code, notes, and snippets.

@MrMeison
Created February 22, 2017 15:51
Show Gist options
  • Save MrMeison/192e3ccdff7211527828c6ee7bf0ec33 to your computer and use it in GitHub Desktop.
Save MrMeison/192e3ccdff7211527828c6ee7bf0ec33 to your computer and use it in GitHub Desktop.
$primaryColor: #0074d9;
circle {
fill: #ddd;
stroke: $primaryColor;
stroke-width: 32;
stroke-dasharray: 50 100;
transition: stroke-dasharray .3s ease;
}
svg {
margin: 0 auto;
transform: rotate(-90deg);
background: #ddd;
border-radius: 50%;
display: block;
}
.buttons {
margin-bottom: 30px;
}
button {
text-transform: capitalize;
font-size: 13px;
cursor: pointer;
-webkit-appearance: none;
border: none;
margin-right: 5px;
background-color: transparent;
padding: 5px 10px;
outline: none;
border-radius: 2px;
transition: background-color .1s ease, color .2s ease;
&:last-of-type {
margin-right: 0;
}
&.active {
font-weight: 400;
background-color: $primaryColor;
color: white;
}
}
figcaption {
margin-bottom: 20px;
font-size: 22px;
font-weight: bold;
text-align: center;
}
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: 'Open Sans', sans-serif;
}
body, html {
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment