Skip to content

Instantly share code, notes, and snippets.

@ma0c
Created January 22, 2019 14:39
Show Gist options
  • Save ma0c/52fb844c4c378273179069d4eb3fe091 to your computer and use it in GitHub Desktop.
Save ma0c/52fb844c4c378273179069d4eb3fe091 to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
h1 {
animation: type 3s steps(14);
overflow: hidden;
white-space: nowrap;
font-family: consolas;
border-right: 4px solid black;
width: 14ch;
}
@keyframes type {
0% {
width: 0ch;
}
100% {
width: 14ch;
}
}
</style>
</head>
<body>
<h1>&lt;contraslash/&gt;</h1>
</body>
</html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment