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

  • 相关阅读:
    通过域名方式决定使用哪个数据库
    OpenERP/Odoo命令行参数
    修改pip源
    解决python "Non-ASCII character"错误
    Synergy 鼠标和键盘共享软件
    java 线程复习笔记
    常用设计模式--代理模式
    数据结构--二叉树
    mysql 索引的数据结构(B树和B+树)
    JS更改树型json的key键
  • 原文地址:https://www.cnblogs.com/PoliceXu/p/9637373.html
Copyright © 2011-2022 走看看