摘要:
主要用table布局来实现的 html如下 css 效果如下 阅读全文
摘要:
主要就是用ellipsis来实现,必须有宽度和高度,必须写overflow: hidden;才能够实现哦 1、单行溢出隐藏 2、多行溢出隐藏 阅读全文
摘要:
由于placeholder是html5的属性,仅支持html5的浏览器才支持placeholder,目前最新的firefox、chrome、safari以及ie10都支持,ie6到ie9都不支持。 css代码如下 阅读全文