题海让大学四年没有难题
白天模式登陆

题目详情

单选题 一个小程序的wxml文件内容如下: <view class="container"> <view class="item">1</view> <view class="item">2</view> <view class="item">3</view> <view class="item">4</view> </view> wxss文件内容如下: .container{ width: 750rpx; height: 100px; background-color:#eee; display: flex; } .item{ width: 150rpx; height:100px; text-align: center; line-height: 100px; background-color:#0f0; } 要让页面的布局效果如图所示: 下面的说法正确的是( )

A. 在.container选择器中添加样式属性justify-content: space-around

B. 在.container选择器中添加样式属性justify-content: space-between

C. 在.item选择器中添加样式属性justify-content: space-between

D. 在.item选择器中添加样式属性justify-content: space-around

学科:移动开发技术(2021级)

时间:2024-01-17 06:20:58

Copyright © 2022 津ICP备2021001502号