• css属性


    css 属性:

      背景:background-color

         background-image

         bacground-repeat 背景重复。

                  background-attachment :定义背景图片随滚动轴的移动方式
          取值: scroll | fixed | inherit
          scroll: 随着页面的滚动轴背景图片将移动
          fixed: 随着页面的滚动轴背景图片不会移动
          inherit: 继承初始值: scroll
          继承性: 否
          适用于: 所有元素

         background-position  设置图像的起始位置。、

      文本:

        color

        letter-spacing  每个字符之间的距离

        word-spacing  每个单词之间的距离

        text-indent   首行缩进

        line-height   文字的行高。

        text-align    设置文本中的文字的对齐方式

        {text-transform:uppercase}  所有的字母是大写
        {text-transform:capitalize}所有的字母是小写
        {text-transform:lowercase}  首字母是大写

      字体:

        font-size  字体的大小

        font-style  设置字体是粗体,还是斜体

        font-family 设置字体

        font-weight  设置字体的粗细

      列表:

        list-style-type

      定位:position

        relative:相对定位

        absolute:绝对定位 随着滚动条一起运动。

        fixed: 不会随着滚动条运动,就在他自己原来的位置。

        static:默认的就是static

      浮动:float

      盒模型:

        margin:外连接

        padding:内连接

        border-style:边框的样式

        border-color:边框的颜色

        border-with:边框的宽度

          三个写在一起就是    border:1px solid red

        border-top-stlye  上下左右都可以设置

        

         

        

  • 相关阅读:
    iPhone iPad发展史
    iOS 学习
    iOS 学习
    iOS 学习
    iOS 学习
    iOS 学习
    iOS 学习
    iOS 学习
    iOS 学习
    iOS 学习
  • 原文地址:https://www.cnblogs.com/wolf-miaoqing/p/4970102.html
Copyright © 2020-2023  润新知