zoukankan      html  css  js  c++  java
  • css笔记

    CSS:层叠样式表,是给标签(html)添加样式的    (键对值:属性:属性值;)

       (备注:html超文本标记语言,是标记语言,不是编程语言,说白了就是标签。标签:<标签名>)

    一、文本的样式(text)

      1、颜色  

                color:red;

      2、文本对齐方式

                text-align:left;(左对齐)

                text-align:center;(居中)

                text-align:right;(右对齐)

                text-align:justify(两端对齐)

      3、文本修饰

                text-decoration:none;(什么都没有) 

                text-decoration: overline;   (上划线)

                text-decoration:line-through;  (删除线)

                text-decoration:underline;        (下划线)    

      4、文本转换

                text-transform:uppercase;  (大写字母)

                text-transform:  lowercase;  (小写字母)

                text-transform:  capitalize;    (以大写字母写)

      5、文本缩进

                text-indent:20px;

    二、字体(font)

      1、字体大小

                font-size:20px;

      2、字体颜色

                color:red;

      3、字体样式

                font-style:normal;(正常的)

                font-style:italic;     (斜体)

                font-style:oblique;  (倾斜)

                font-style:inherit;    (继承父级样式)

      4、字形

                font-family:"微软雅黑";  (系统默认) 

      5、加粗

                font-weight:normal;(系统默认)

                font-weight:bold;    (粗体)

                font-weight:bolder;  (更粗)

                font-weight:lighter;    (更细)

          (备注:font-weight:可以写数字,后面不用加px            400等于normal        700等于bold         比400小是变细,比400大是变粗)

  • 相关阅读:
    MyBatis collection的两种形式——MyBatis学习笔记之九
    MyBatis 一对一(OneToOne)__SELECT
    Mybatis 一对一(OneToOne)关系映射__INSERT
    mybatis association表关联与rowbounds共同使用时的异常及其解决方案
    Mybatis Laz-Load功能实现代码赏析(原创)
    mybatis sql中的条件语句
    HDFS之四:HDFS原理解析(总体架构,读写操作流程)
    Mybatis多参数查询映射
    mysql索引之六:mysql高效索引之覆盖索引
    MYSQL BENCHMARK()函数
  • 原文地址:https://www.cnblogs.com/liancai001/p/9629848.html
Copyright © 2011-2022 走看看