09. Neon loading effects

Effect (the source code network disk address is at the end)

Pay attention to the public account "Moving the World" to see more video tutorials!

source code

index.html

<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="./style.css">

</head>
<body>
<!-- partial:index.partial.html -->
<div>
  <ul>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
    <li></li>
  </ul>
</div>  
</body>
</html>

css

body{
  margin:0;
  padding:0;
  background:rgba(0,0,0,.9);
}
ul{
  position:absolute;
  top:50%;
  left:50%

Guess you like

Origin blog.csdn.net/qq449245884/article/details/122727195