zoukankan      html  css  js  c++  java
  • 背景和字体

    背景(background)

       背景颜      background-color:red;

       背景图片

              background-image:url(路径);

                

          背景图片平铺

              1、平铺 

              2、不平铺   

                   background-repeat:no-repeat;

              3、只平铺X轴/Y轴 

                  background-repeat;repeat-X;

                  background-repeat:repeat-Y;

          背景大小    (可设置具体大小)

               background-size:200px(X轴) 200px(Y轴);

          背景位置  (坐标轴  向下为正  向右为正)

               background-position:50% 50%

               

          背景简写

              background:颜色  图片 平铺   位置;

    二、边框(border)

              简写: border:red    1px   dashed;

              边框圆角

                border-radius:20px;  (

  • 相关阅读:
    Business English E-mail
    向数据库更新数据
    遍历DataTable
    Convert SqlDataReader to DataTable
    (十七)map、flatMap和reduce方法的补充
    (4)六顶思考帽
    (3)学习方法思维导图
    (十六)call、apply、bind的实现以及区别
    (十五)关于继承
    (十四)防抖和节流
  • 原文地址:https://www.cnblogs.com/PoliceXu/p/9637373.html
Copyright © 2011-2022 走看看