欢迎您 本站地址:
复制网址
手机查看
切换背景
返回首页
返回编程教学
喻世明言
哲理故事
复盘项目
历史杂谈
学习React
学习Echarts
学习Chart.js
学习Java
源代码:
html编辑器
颜色值转换
点击运行
小库网 <style> .flex-container { display: -webkit-flex; display: flex; -webkit-align-items: baseline; align-items: baseline; width: 400px; height: 250px; background-color: lightgrey; } .flex-item { background-color: cornflowerblue; width: 100px; margin: 10px; } </style> <div class="flex-container"> <div class="flex-item">flex item 1</div> <div class="flex-item">flex item 2</div> <div class="flex-item">flex item 3</div> </div>
运行结果:
小库提示
扫描下方二维码,访问手机版。
打赏
关闭