首页 > 其他分享 >11111

11111

时间:2024-02-15 17:11:41浏览次数:18  
标签:椭圆 center 11111 60% 10px 半径 400px


<!DOCTYPE html> <html>   <head lang="en">     <meta charset="UTF-8">     <title>(重复)径向渐变-示例(含参数说明)</title>     <style type="text/css">         .common{             width: 1200px;             font-size: 15px;             color: black;             border-radius: 10px;           /*  margin: 0px; */           /*  padding: 0px; */           /*  background-repeat: no-repeat; */         }         .commonSize{             background-size:200px 120px;         }         .radialGradient{             height: 600px;             background-image: radial-gradient(400px 30% at center, red 20%, yellow 60%, green 80%);               /* 上例中,数据释义如下               400px,椭圆的X轴半径是400px               30%,椭圆的Y轴半径是背景尺寸的30%               center,将上面的椭圆放到盒子的正中间,当center改为10px 30px时,将上面的椭圆中心放到盒子左边右侧10px,上边下方30px的地方,               20%,开始位置大于0,那么0到开始位置的颜色为开始位置的颜色               80%,结束位置小于100%,那么结束位置到100%的颜色、椭圆外的颜色为结束位置的颜色               椭圆的width = 640 = 400* 80% * 2   //2,将半径转为全径               椭圆的height = 288 = 600 * 30% * 80% * 2  */         }         .zeroRate{             height: 300px;             background-image: repeating-radial-gradient(400px 60% at center,red 20%, yellow 30%, green 45%);               /* 上例中,数据释义如下               300px,椭圆的X轴半径是300px               60%,椭圆的Y轴半径是背景尺寸的60%               center,将上面的椭圆放到盒子的正中间,当center改为10px 30px时,将上面的椭圆中心放到盒子左边右侧10px,上边下方30px的地方,               20%,第1个渐变的结束位置               45%,第2个渐变的结束位置               椭圆的width = 160 = 400* 20% * 2   //2,将半径转为全径               椭圆的height = 72 = 300 * 60% * 20% * 2  */         }         .zeroNumber{             height: 300px;             background-image: repeating-radial-gradient(400px 70% at center,red 60px,yellow 90px,green 130px);               /* 上例中,数据释义如下               400px,椭圆的X轴半径是400px               60%,椭圆的Y轴半径是背景尺寸的60%               center,将上面的椭圆放到盒子的正中间,当center改为10px 30px时,将上面的椭圆中心放到盒子左边右侧10px,上边下方30px的地方,               60px,第1个渐变的结束位置               130px,第2个渐变的结束位置               椭圆的width = 120 = 60 * 2   //2,将半径转为全径               椭圆的height = 63 = (300 * 70%) / 400 *120                                                         */         }     </style>   </head>   <body>     <pre class="common zeroNumber">       2/4、以下重复径向渐变,     </pre>   </body> </html>

标签:椭圆,center,11111,60%,10px,半径,400px
From: https://www.cnblogs.com/gushixianqiancheng/p/18014171

相关文章

  • 11111111
    #include<iostream>#include<vector>#include<windows.h>usingnamespacestd;inta=999;intb=0;boolc=false;structstudent{ stringname; intage; intcard; intgrade;}s;voidka(){ cout<<"学生管理系统:"<<endl; c......
  • test 11111
    MySql分库分表与分区的区别和思考摘要:一.分分合合说过很多次,不要拘泥于某一个技术的一点,技术是相通的。重要的是编程思想,思想是最重要的。当数据量大的时候,需要具有分的思想去细化粒度。当数据量太碎片的时候,需要具有合的思想来粗化粒度。1.1分很多技术都运用了分的编程思想......
  • 速领!京东双11红包今晚20点开抢:每天3次机会 最高11111元
    一年一度的双11大促即将拉开帷幕。10月23日20点,以“真便宜”为主题的京东11.11将正式开启。大家期待的“京享红包”也于今天20点正式发放,连续20天(10月23日-11月11日),每天都可以领取三次,最高可抽11111元现金。具体领取方式如下:京东618京享红包:点此抽红包(每天可抽3次)或京东APP搜......
  • 11111
    torch.manual_seed(seed)os.environ['PYTHONHASHSEED']=str(seed)torch.cuda.manual_seed(seed)torch.cuda.manual_seed_all(seed)np.random.seed(seed)random.seed(seed)torch.backends.cudnn.benchmark=Falsetorch.backends.cudnn.deter......
  • 111111111111
    ##----------PromptGenModule-----------------------classPromptGenBlock(nn.Module):def__init__(self,prompt_dim=128,prompt_len=5,prompt_size=96,lin_dim=192):super(PromptGenBlock,self).__init__()self.prompt_param=nn.Paramet......
  • 111111
    defmake_layer(block,n_layers):layers=[]for_inrange(n_layers):layers.append(block())returnnn.Sequential(*layers)classResidualDenseBlock_5C(nn.Module):def__init__(self,nf=64,gc=32,bias=True):super(Residu......
  • 111111
    ......
  • 11111111111
    importtorchfromtorchimportnnimportnumpyasnpimportmatplotlib.pyplotaspltfromPILimportImagefromtorchvisionimporttransformsfrommathimportsqrtimportosos.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"#读取两张图像img1=I......
  • 111111111
    33MEHOB8W0-eyJsaWNlbnNlSWQiOiIzM01FSE9COFcwIiwibGljZW5zZWVOYW1lIjoiUG9saXRla25payBNZXJsaW1hdSBNZWxha2EiLCJhc3NpZ25lZU5hbWUiOiJtYWdnaWUgc2VyIiwiYXNzaWduZWVFbWF......
  • 11111
    #include<stdio.h>intmain(){printf("OO\n");printf("<H><H>\n");printf("IIII\n");}  #include<stdio.h>intmain(){......