题库 软件开发 题目列表 下列布局在页面上的宽度比是多少? // css .flex...
单选题
下列布局在页面上的宽度比是多少?
// css
.flex {
display: flex;
width: 200px;
height: 100px;
}
.left {
flex: 3 0 50px;
background: red;
}
.right {
flex: 2 0 100px;
background: blue;
}
// html
<div class="flex">
    <div class="left"></div>
    <div class="right"></div>
</div>
A.

2:3

B.

1:3

C.

3:2

D.

1:5

题目信息
校招真题
-
正确率
0
评论
17
点击