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次方
  • 相关阅读:
    后台管理界面
    登陆页面
    Django models中关于blank与null的补充说明
    django学习之路
    Django在根据models生成数据库表时报 __init__() missing 1 required positional argument: 'on_delete'
    django2笔记:路由path语法
    四 数据库备份
    Python操作MySQL
    三 数据库其他
    Shell----简单整理
  • 原文地址:https://www.cnblogs.com/ytsbk/p/7228601.html
Copyright © 2011-2022 走看看