zoukankan      html  css  js  c++  java
  • 常用的文本属性和注解

    文本属性
    font-weight: bold;            字体宽度;
    font-size: 20px;             字体大小;
    font-family: 宋体;             字体系列;
    font-style: italic;               字体倾斜;
    color: red;                字体颜色;
    opacity: 0.9;                       字体透明度;
    line-height: 20px;               字体高度;
    letter-spacing: 5px;            字符间距;
    text-align: center;            字体对齐方式;
    text-indent: 2em;            +缩进、-悬挂;
    text-decoration: overline;          相当于u标签、s标签、给字加线;
    text-decoration-color: #ff7300;       线的颜色;
    text-decoration-style: dashed;        线的分格 例如:虚线;
    text-decoration-line: underline;       相当于u标签、s标签、给字加线;
    overflow: hidden;             溢出部分隐藏;
    text-overflow: ellipsis;           隐藏部分显示方式;
    white-space: nowrap;           文体不换行;’
    text-shadow: -5px -5px 10px yellow;    水平便宜、垂直偏移 模糊距离;
    text-indent: hanging;          
    -webkit-text-stroke: 2px black;       描边距离、描边颜色

    特殊符

                        空格
    &lt;html&gt;                 在浏览器中显示<html>
    H<sub>2</sub>O              水的化学符号
    2<sup>3</sup>               2的3次方
  • 相关阅读:
    jdk8u241各系统版本
    jdk8u241各系统版本
    【转】软件测试测试用例设计规范
    虚拟机安装Centos(VirtulBox)
    Java Selenium搭建Web UI自动化环境
    【转】WEB(Javascript)远程调用方案清单
    关于.net页面提交后css失效或部分失效的问题
    常用照片尺寸 照片规格(英寸) (厘米) (像素) 数码相机类型
    【转】jquery的autoComplete 中文介绍
    网页 乱码
  • 原文地址:https://www.cnblogs.com/ytsbk/p/7228601.html
Copyright © 2011-2022 走看看