1.HSLA 当然,HSLA 就是HSL 的扩展,就像RGBa一样,添加了第四个透明参数。使用HSLA就像RGBa一样简单,仅仅在那里贴上额外的参数就OK了:div {background: hsla(30, 50%, 80%, 0.5);}HSLA被大部分浏览器...
section定义文章中的区段 article定义文章 aside侧边栏 header定义页眉 main主要的 hgroup定义对网页标题的组合 figure一组媒体对象以及文字 nav导航 figcaption定义gigure的标题 footer定义页脚...
color,number,search,tel,url,range,time,date,datetime...
border-radius border-radius:10px 0 0 0;上左 border-radius: 0 10px 0 0;上右 border-radius:0 0 0 10px;下左 order-radius:0 0 10px 0;下右...
overflow:hidden; white-space:nowrap; text-overflow:ellipsis;...
方法一: 最多人使用的一个方法, 直观, 方便, 但效率很低. 1:if(s == null || s.equals()); 方法二: 比较字符串长度, 效率高, 是我知道的最好一个方法. 2:if(s == null || s.length() = 0); 方法三: Java...