Skip to content

Instantly share code, notes, and snippets.

@zlwaterfield
Last active October 26, 2019 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zlwaterfield/0df5e1efd7e4ebc8eb9fa01247e0b1eb to your computer and use it in GitHub Desktop.
Save zlwaterfield/0df5e1efd7e4ebc8eb9fa01247e0b1eb to your computer and use it in GitHub Desktop.
.timeline {
position: absolute;
width: 100%;
height: auto;
top: 64px;
left: -5px;
stroke-width: 3px;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 4250;
stroke-dashoffset: 4250;
@include xs-sm {
top: 84px;
stroke-dasharray: 4450;
stroke-dashoffset: 4450;
};
@include gt-sm {
top: 52px;
stroke-dasharray: 4500;
stroke-dashoffset: 4500;
};
path {
fill: transparent;
stroke: $purple;
vector-effect: non-scaling-stroke;
transition: stroke $transition-duration $cubic-bezier;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment