zoukankan      html  css  js  c++  java
  • css

    1文本样式 text

      颜色 colorred

     文本对齐方式: text alignleft/center/fight/justify(两端对齐)

     文本修饰: text decorationnone(什么都没有)/overline(上划线)/underline(下划线)/line through(删除线)

     文本缩进:text indent20px

    2字体 font

     大小   font-size20px

     颜色   colorred       font-colorred(×)

     形状   font-stylenormal/italic/oblique/inherit

     字行   font-family:”微软雅黑

     加粗   font-weightbold;  bold后面也可跟数字

            400为正常   大于400为加粗  反之为变细           不用带单位px

  • 相关阅读:
    流程控制之while循环
    流程控制之if...else
    基本运算符
    基本数据类型
    注释
    用户交互
    常量
    test
    查询方法
    删除代码
  • 原文地址:https://www.cnblogs.com/yangzhiqiang/p/9627794.html
Copyright © 2011-2022 走看看