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

第十五天edit icon

|
|
Fork(复制)
|
|
作者:
lynn-ssk
提交反馈
嵌入
设置
下载
HTML
格式化
支持Emmet,输入 p 后按 Tab键试试吧!
<head> ...
展开
</head>
<body>
            
            <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <title>Texto </title>
</head>
<body>
    <h1>DESAFIO <br> CSS</h1>
</body>
</html>
        
</body>
CSS
格式化
            
            body
{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f33131b2;
}
h1
{
    text-align: center;
    color: white;
    font-family: arial;
    font-size: 90px;
    line-height: 90px;
    letter-spacing: 15px;
    text-shadow: 0 1px 0 #efefef,
                 0 2px 0 #efefef,
                 0 3px 0 #efefef,
                 0 4px 0 #efefef,
                 0 30px 5px rgba(0,0,0,.1);
    animation: float 3s linear infinite;
    animation-direction: alternate;
}

@keyframes float 
{
    from {transform: rotate(5deg);}

    to {transform: rotate(-5deg);}
}
        
JS
格式化
            
            
        
预览
控制台