点击查看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">
    <title></title>
    <link href="https://fonts.googleapis.com/css?family=Lato:400,700" rel="stylesheet">
    
</head>

<body>

<h1>Desafio CSS</h1>
  
</body>
</html>
        
</body>
CSS
格式化
            
            body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Lato', sans-serif;
    background-color: rgba(10, 43, 48, 0.363);
}

h1 {
    font-size: 200px;
    text-align: center;
    text-transform: uppercase;
    background: url(image.jpg);
    -webkit-background-clip: text;
    color: transparent;
    animation: text-background 20s linear infinite;
}

@keyframes text-background {

    from { background-position: 0 0 }

    to { background-position: 100% 100% }

} 
        
JS
格式化
            
            
        
预览
控制台