text-data 类
Coddy Coddy 个人资料卡克隆 | 前端项目 课程的第 17 课,共 26 课。
挑战
简单在类 ‘profile-card’ 中,选择类 ‘text-data’:
- 将 display 设置为 flex。
- 将 flex-direction 设置为 column。
- 将 align-items 设置为 center。
- 将 font-weight 设置为 700 或 bold。
亲手试试
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- 在这里编写 HTML 代码 -->
<script src="script.js"></script>
</body>
</html>Coddy 个人资料卡克隆 | 前端项目中的所有课
自己练习: Web 在线编辑器