摘要:
1,align-items: flex-start; 2,align-items: flex-end; 2,align-items: center; 2,align-items: baseline; 2,align-items: stretch; 阅读全文
posted @ 2022-08-21 10:33
学无边涯
阅读(63)
评论(0)
推荐(0)
摘要:
FLEX justify-content 属性项目在主轴上的对齐方式 1,justify-content: flex-start 2,justify-content: flex-end 3,justify-content: center 4,justify-content: space-betwee 阅读全文
posted @ 2022-08-21 10:23
学无边涯
阅读(68)
评论(0)
推荐(0)
摘要:
内容大于盒子宽度 <style type="text/css"> .bigbox{ width: 500px; height: 400px; background:#ff0000; display: flex; flex-direction: row; flex-wrap: nowrap } .sm 阅读全文
posted @ 2022-08-21 10:15
学无边涯
阅读(378)
评论(0)
推荐(0)
摘要:
1,如何让盒子元素横轴排列 flex-direction: row //默认是横轴 flex-direction: row-reverse flex-direction: column flex-direction: column-reverse <style type="text/css"> .b 阅读全文
posted @ 2022-08-21 10:06
学无边涯
阅读(75)
评论(0)
推荐(0)
摘要:
1.Flex布局 display:flex .bigbox{ width: 500px; height: 400px; background:#ff0000; display: flex; } .smallbox{ width: 100px; height: 100px; background: # 阅读全文
posted @ 2022-08-21 09:54
学无边涯
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号