Skip to content

Instantly share code, notes, and snippets.

@maurostorch
Created May 20, 2016 12:48
Show Gist options
  • Save maurostorch/906a43a4a0fbd13cae3b5cf5bd169b6a to your computer and use it in GitHub Desktop.
Save maurostorch/906a43a4a0fbd13cae3b5cf5bd169b6a to your computer and use it in GitHub Desktop.
very thin top progressbar
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style media="screen">
div {
display: inline-block;
height: 1px;
background-color: rgba(0, 0, 200, 0.5);;
width: 0px;
animation-name: go;
animation-duration: 2s;
animation-timing-function: linear;
animation-fill-mode: backwards;
animation-iteration-count: infinite;
position: fixed;
top: 0px;
left: 0px;
/*box-shadow: 10px 2px gray;*/
}
@keyframes go{
from{width:0%; left: 0%; box-shadow: 10px 2px gray;}
to{width:50%; left: 100%; box-shadow: 1px 1px lightgray;}
}
</style>
</head>
<body>
<div class="">
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment