zoukankan      html  css  js  c++  java
  • 渐变效果

    ·线性渐变:

    属性:linear-gradinet(开始位置 角度,起始颜色,终止颜色 位置)

    ·开始位置:渐变开始的位置,属性值可以为百分比/长度/leftrighttopbotton(可 组合使用)

    ·重复渐变将属性修改为:repeating-linear-gradinet()

    ·径向渐变:

    属性:radial-gradinet()(开始位置 角度,起始颜色,终止颜色)

    ·形状:ellipse(椭圆)/circle(圆形)

    ·发散方向:leftrighttopbottoncenter(可组合使用)

    ·大小(半径):属性值可以用像素或关键字表示

    ·closest-side:圆心到距离最近的边。

    ·farthest-side:圆心到距离最远的边。

    ·closest-corner:圆心到距离最近的角。

    ·farthest-corner:圆心到距离最远的角。

    ·重复到径向渐变:repeating-radial-gradinet()

    如:background:radial-gradinet(circle,red,blue,orange)

    background:radial-gradinet(circle at top right,red,blue,orange)

    background:radial-gradinet(circle 50px,red,blue,orange)

    background:radial-gradinet(circle closest-side,red,blue,orange)

    background:repeating-radial-gradinet(circle 50px,red,blue,orange)

  • 相关阅读:
    emacs 集成astyle
    git reflog
    rpm 打包的时候 不进行strip
    gmock
    如何对正在运行的进程,进行heap profile
    linux性能压测工具
    默认宏定义
    gdb fabs错误输出
    基于Clang的缓存型C++编译器Zapcc
    grep 多行 正则匹配
  • 原文地址:https://www.cnblogs.com/wzjie1234/p/10719423.html
Copyright © 2011-2022 走看看