A Pen by Paul Thompson

Thumbnail
This awesome code was written by paulnthompson, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright paulnthompson ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Paul Thompson</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div class="scale">
	<div class="timer"></div>
<div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/paulnthompson/a-pen-by-paul-thompson-pwOwRV */
.scale { 
	height: 50px;
	outline: 1px solid black;
	width: 60%;
	margin: 1em auto;
}

.timer {
	content:" ";
	width: 1px;
	height: 50px;
	background: hotpink;
	-webkit-transition: width 800ms; /* Safari */
  transition: width 800ms;
	-webkit-transition-timing-function: linear; /* Safari and Chrome */
  transition-timing-function: linear;
}

.timer:hover {
	width: 100%;
}

Comments