html基础总结2

<style>

.pspan {
margin-top: 10px;
line-height: 20px;
}
input::-webkit-input-placeholder {
color: #AAB1B3;
}

</style>

1.设置placeholder文字颜色;

2.border-radius: 6px:设置圆角;

3.border: 1px solid #F8F8F8:设置边角线.

4.position: absolute:位置设置为 absolute 的元素,可定位于相对于包含它的元素的指定坐标。此元素的位置可通过 "left"、"top"、"right" 以及 "bottom" 属性来规定。

原文地址:https://www.cnblogs.com/Ly426/p/9685633.html