文本类型及补充

 width: 300px;   宽
        height: 300px;  高
        background-color: #ff0;
        /* 文字颜色 */
        color: aquamarine;
        color: #ff11dd;
        color: #f1d;
        color: rgb(255,17,211);
        /* 文字大小 */
        /* 默认字体大小 16px */
        /* 默认最小字体 12px */
        font-size: 5px;
        /* 水平对齐 */
        text-align:right/left/center;
        /* 上下居中:行高的值和高度相等 */
        line-height: 100px;
        /* 首行缩进 */
        text-indent: 2em;
        text-indent: 20px;

文本属性补充 /* font-size: xx-small; /
/
normal常规 lighter细 bold加粗 /
/
100-200-300 = lighter 400-500 = normal 600-900 = bold /
/
加粗 /
/
font-weight: 100 / 400 / 600; /
/
倾斜 /
/
font-style: italic/normal; /
/
字左右间距 /
/
letter-spacing: -7000px; /
/
下划线 /
/
text-decoration:underline; /
/
text-decoration: overline; /
/
del /
/
text-decoration: line-through; /
/
驼峰命名法 /
/
ZhongWenJianTi 大驼峰
zhongWenJianTi 小驼峰 */

posted @ 2020-10-24 15:56  &npsb;&npsb;  阅读(156)  评论(0编辑  收藏  举报