摘要: 宽和高 属性 描述 width 设置元素宽度 height 设置元素高度 块级标签才能设置宽度,内联标签的宽度由内容来决定。 /*p标签的宽度设为100px,高度设为50px*/ p { width:100px; height:50px; } 字体样式 属性 描述 font-family 设置字体样 阅读全文
posted @ 2022-04-26 17:33 Yume_Minami 阅读(125) 评论(0) 推荐(0) 编辑