zoukankan      html  css  js  c++  java
  • CSS3 radial-gradient 径向渐变属性 实现重复半圆角内边框

    <!DOCTYPE html>
    <html>
      <head>
      <meta charset="utf-8">
      <title>JS Bin</title>
      <style type="text/css">
    .box { width:960px; height:500px; margin:0 auto; background:#fd6666; background-size:15px 22px; background-repeat:repeat-y;
    background-image:-webkit-radial-gradient(left, circle, #fff 45%, transparent 45%); 
    background-image:-moz-radial-gradient(left, circle, #fff 45%, transparent 45%);  }
      </style>
      </head>
      <body>
          <div class="box"></div>
      </body>
    </html>

    <!DOCTYPE html>
    <html>
      <head>
      <meta charset="utf-8">
      <title>JS Bin</title>
      <style type="text/css">
    .box { width:960px; height:500px; margin:0 auto; background:#fd6666; background-size:15px 22px; background-repeat:repeat-y; background-position:right;
    background-image:-webkit-radial-gradient(right, circle, #fff 45%, transparent 45%); 
    background-image:-moz-radial-gradient(right, circle, #fff 45%, transparent 45%);  }
      </style>
      </head>
      <body>
          <div class="box"></div>
      </body>
    </html>
  • 相关阅读:
    BZOJ 4503: 两个串 FFT
    [FJOI2014]最短路径树问题
    [JSOI2009]游戏Game
    bzoj 2463 [中山市选2009]谁能赢呢?
    [CQOI2007]余数求和
    [NOI2011]兔兔与蛋蛋游戏
    [HNOI2015]实验比较
    bzoj2125 最短路
    [COGS 2877]老m凯的疑惑
    [HNOI2015]开店
  • 原文地址:https://www.cnblogs.com/crafts/p/4180090.html
Copyright © 2011-2022 走看看