zoukankan      html  css  js  c++  java
  • Study 7 —— CSS美化背景和边框

    图片透明度属性:opacity
    背景图片重复属性:background-repeat
    背景图片位置属性:background-position
    background-postion:横坐标 纵坐标;
    background-postion:left center;
    background-postion:left top;
    background-postion:left bottom;
    背景图片区域属性:background-origin: border | padding | content
    背景图片大小属性:background-size
    背景图片显示属性:background-attachment:scroll | fixed /* 规定图片是固定还是随页面滑动(默认固定)*/
    背景图片裁剪区域:background-clip: border-box | padding-box | content-box | no-clip
    背景复合属性:
    background: 背景颜色 背景图片 是否重复 图片位置 图片滚动;
    {background: background-color background-image background-repeat background-attachment
    background-position background-size background-clip background-origin}

    边框复合属性
    边框样式:{border-style: border-top-style border-right-style border-bottom-style border-left-style}
    边框颜色:{border-color: border-top-color border-right-color border-bottom-color border-left-color}
    边框线宽:{border- border-top-width border-right-width border-bottom-width border-left-width}
    边框复合:{border: border-width border-style border-color}

    圆角边框属性:border-radius: none | length
    两个圆角半径:border-radius: length/length
    border-radius衍生属性:
    border-top-right-radius
    border-bottom-right-radius
    border-top-left-radius
    border-bottom-left-radius

    图片边框
    {border-imgage: image (number | percentage) (stretch | repeat | round);}
  • 相关阅读:
    巡风安装配置 -windows
    Struts2-052 RCE CVE-2017-9805
    CVE-2017-12615和CVE-2017-12616
    Nmap使用指南
    理解HTTP协议
    缓慢拒绝服务攻击- slowloris.pl
    SSL&TLS渗透测试
    Nmap版本检测
    Protocol Buffer学习教程之编译器与类文件(三)
    64位Windows系统下32位应用程序连接MySql
  • 原文地址:https://www.cnblogs.com/vurtne-lu/p/7975930.html
Copyright © 2011-2022 走看看