Menu
CoddyTech

标题与外层元素

Coddy 3D 卡片 | 前端项目 课程的第 2 课,共 31 课。

challenge icon

挑战

简单
  1. 在 head 中创建一个 title 标签,并写入 3D card 文本,或写入你选择的任意文本。
  2. 在 body 标签中,创建一个 class 名为 ‘parent’ 的 div。
  3. 在 ‘parent’ 内部,创建另一个 class 名为 ‘card’ 的 div。

亲手试试

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="styles.css">
</head>
    <body>
        <!-- 在这里编写 HTML 代码 -->
        <script src="script.js"></script>
    </body>
</html>

3D 卡片 | 前端项目中的所有课

自己练习: Web 在线编辑器