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;  (

  • 相关阅读:
    Thymeleaf+Spring使用自己的工具类
    bootstrap 响应式布局
    bootstrap 流布局
    bootstrap 布局
    bootstrap 新建网页
    quick 定时更新函数
    acm hdoj 1157
    acm hdoj 今年暑假不ac
    quick removeTileMaptile
    quick schedule 的添加和移除
  • 原文地址:https://www.cnblogs.com/PoliceXu/p/9637373.html
Copyright © 2011-2022 走看看