点击查看html编辑器说明文档

第十八天edit icon

|
|
Fork(复制)
|
|
作者:
lynn-ssk
提交反馈
嵌入
设置
下载
HTML
格式化
支持Emmet,输入 p 后按 Tab键试试吧!
<head> ...
展开
</head>
<body>
            
            <!DOCTYPE html>
<html lang="pt-br">
    
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="style.css" type="text/css" media="all">
    <title>Dia 18</title>

    
</head>

<body>

  <ul>
      <li>D</li>
      <li>I</li>
    <li>A</li>
      <li>1</li>
      <li>8</li>
  </ul>
  
</body>
</html>
        
</body>
CSS
格式化
            
            body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #00473e;
}

ul {
    margin: 0;
    padding: 0;
    display: flex;
}

li {
    list-style: none;
    color: rgb(202, 235, 245);
    font-size: 100px;
    font-weight: bold;
    letter-spacing: 10px;
    transition: 2s;
}

ul:hover li {
    transform: rotate(45deg) translateY(-200px);
    opacity: 0;
    filter: blur(20px);
}

ul li:nth-child(1) {
    transition-delay: 0;
}

ul li:nth-child(2) {
    transition-delay: 0.4s;
}

ul li:nth-child(3) {
    transition-delay: 0.8s;
}

ul li:nth-child(4) {
    transition-delay: 1.2s;
}

ul li:nth-child(5) {
    transition-delay: 1.6s;
}
        
JS
格式化
            
            
        
预览
控制台