猿问
div+css布局问题?
我用的div+css布局,想实现左侧固定长度,右侧填满。虽然是实现了,但是右侧溢出,因为显示左侧,使用margin-left
导致右侧出去了那么多。怎么处理啊?
婷婷同学_
浏览 621
回答 1
1回答
吃鸡游戏
.stage{width: 100%;height: 280px;display: flex;flex-direction: row;flex-flow: nowrap;}.left{width: 450px;height: 100%;background: orange;}.center{width: calc(100% - 450px + 15px);margin-left: 15px;height: 100%;background: grey;}试一下这样布局吧 应该是你想要的结果
0
0
0
随时随地看视频
慕课网APP
相关问题
为什么字体颜色在Eclipse上没有变化
2 回答
相关分类
Html/CSS
为什么字体颜色在Eclipse上没有变化
2 回答
我要回答