摘要: 1、input标签的readonly属性 <input type="text" readonly="readonly"/> 2、使用省略溢出需要注意的点 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; overflo 阅读全文
posted @ 2019-03-27 16:32 十里霜天 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1、结合元素选择器 <p class="important">css</p> p.important {color: red} 匹配class属性包含important的所有p元素 2、多类选择器 <div class="option selected"></div> .option.selecte 阅读全文
posted @ 2019-03-27 16:05 十里霜天 阅读(1124) 评论(0) 推荐(0) 编辑