container 类
Coddy 图片折叠面板:前端项目 课程的第 10 课,共 17 课。
挑战
简单目标类 ‘container’:
- 将宽度设为 500 像素,高度设为 300 像素。
- 将 display 设为 Flex。
- 将 justify-content 设为 start。
- 将 flex-wrap 设为 nowrap。
亲手试试
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- 在这里编写 HTML 代码 -->
<script src="script.js"></script>
</body>
</html>图片折叠面板:前端项目中的所有课
自己练习: Web 在线编辑器