CSS Property Value How to - webkit-animation: 1s blink step-end infinite;








Question

We would like to know how to webkit-animation: 1s blink step-end infinite;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
@-webkit-keyframes blink {from , to { border-color:transparent}
50%{border-color:black}
}<!--from   ww  w  .  j a v  a2  s  .  c o m-->
@-moz-keyframes blink {from , to { border-color:transparent}
50%{border-color:black}}
body {
  width: 100px;
  height: 100px;
  border-left: 10px solid black;
  -webkit-animation: 1s blink step-end infinite;
  -moz-animation: 1s blink step-end infinite;
}
</style>
</head>
<body>
</body>
</html>

The code above is rendered as follows: