Fork me on github
摘要: ## 使用原子化 CSS 工具包 比如把常见的 flex 布局封装成一个类名,这样就可以直接在 HTML 中使用了。 ```css .flexCenter { display: flex; flex-direction: row; justify-content: center; align-ite 阅读全文
posted @ 2023-11-07 00:19 zjy4fun 阅读(13) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <title>flex 中设置高度的问题</title> </head> <body> <!-- 1. 容器设置为 flex,设置宽高会有什么影响,父容器和子容器默认宽高是多少 2. 如果容器宽高使用百分比表示,会有什么不同和影响? --> <div class="con 阅读全文
posted @ 2023-11-07 00:12 zjy4fun 阅读(192) 评论(0) 推荐(0) 编辑