width 和height 是什么意思?怎么用?

如题所述

width这个是设宽度的意思
height这个是设高度的意思
不同的地方用法用小的不同,大概也就是后面写上数值就可以了
如css里
height: 95px;
margin-bottom: 24px;
margin-top: 157px;
width: 269px;

px是指像素
温馨提示:答案为网友推荐,仅供参考
第1个回答  推荐于2018-02-24
width 和 height 是“宽”和“高”的意思,在句子中作名词使用。
width 表达的是从一个边到对面另一个边的宽度距离(W),而 height 则是表达从底部到顶部的高度距离(H)。这两个词不仅常见于数学、物理等教科书,也是生活中常用的词。例:
The width of the road has been increased to 20 ft.(主语)
We have been concerned with the width allocated to lanes for motorists, buses, trucks, bikes, and parked cars in the street design.(介词宾语)
The column is 20 metres in height.(介词宾语)
The plane gained height rapidly.(宾语)本回答被网友采纳
相似回答