Menu
CoddyTech

类“content”

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

challenge icon

挑战

简单

目标类 ‘content’:

  1. 设置内边距:
    1. 顶部 100px
    2. 右侧 60px
    3. 底部 0px
    4. 左侧 30px
  2. 将 transform 设置为:

    translate3d(0, 0, 26px)

亲手试试

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

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

自己练习: Web 在线编辑器