摘要:
一般用css伪类元素 input::-moz-placeholder{/* Mozilla Firefox 19+ */ color: red; opacity: 1;/*这里之前是没有的,发现问题后才加上去的,解决火狐字体不变的问题*/ } input:-moz-placeholder{ colo 阅读全文
摘要:
css部分写上[;line-height:1;] 例如:.input_sty{height:30px;line-height:30px;[;height:24px;line-height:24px;ine-height: 1;]} 阅读全文
摘要:
1、在做浏览器兼容的时候,发现input标签在safari苹果浏览器中的高度永远都是默认的,这时候解决的办法是加上line-height属性就可以设置;2、解决办法: input{height:30px;line-height:30px;outline-offset:0;[;height:24px; 阅读全文
摘要:
outline在一个声明中设置所有的轮廓属性。outline:颜色(outline-line)样式(outline-style)宽度(outline-width) outline-offset 属性对轮廓进行偏移,并在边框边缘进行绘制。 轮廓在两方面与边框不同: 轮廓不占用空间 轮廓可能是非矩形 阅读全文