类图标
Coddy 图片折叠面板:前端项目 课程的第 13 课,共 17 课。
挑战
简单目标类“icon”:
- 将高度设为 30 像素。
- 将显示方式设为 Flex。
- 将 justify-content 设为 center。
- 将 align-items 设为 center。
- 将外边距设为 15px。
亲手试试
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- 在这里编写 HTML 代码 -->
<script src="script.js"></script>
</body>
</html>图片折叠面板:前端项目中的所有课
自己练习: Web 在线编辑器