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

A.

2:3

B.

1:5

C.

1:3

D.

3:2

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