当前位置:网站首页>Wechat applet color gradient
Wechat applet color gradient
2022-06-10 15:04:00 【yechaoa】
effect :
style:
button[type=primary] {
background: linear-gradient(to right, #03A9F4, #7C4DFF);
}Pay attention to the use of background, But can't use background-color.
grammar :
Same as css equally :
linear-gradient( color1 , color2 );Default from top to bottom , Two parameters , The first parameter is omitted , The first parameter controls the direction .
about :
background: linear-gradient(to right, #03A9F4, #7C4DFF);Diagonally :
background: linear-gradient(to bottom right, #03A9F4, #7C4DFF);More to see :https://www.runoob.com/css3/css3-gradients.html
边栏推荐
- 2022第十四届南京国际人工智能产品展会
- 数据湖(六):Hudi与Flink整合
- WordPress的管理员用户名是如何泄露的
- [logodetection dataset processing] (4) extract the logo area of each picture
- 初识RPC
- 【LogoDetection 数据集处理】(1)将数据集切分为训练集和验证集
- 洞見科技入選「愛分析· 隱私計算廠商全景報告」,獲評金融解决方案代錶廠商
- Collision detection unity experiment code
- 这个牛逼的低代码生成器,现在开源了!
- Information theory and coding 2 final review BCH code
猜你喜欢

4、再遇Panuon.UI.Silver之窗体标题栏

New exploration of meta company | reduce Presto latency by using alluxio data cache

2022 the 15th Nanjing International Industrial Automation Exhibition

KaTeX问题 —— csdn编辑时中打出等号对齐的样式

初试c语言之第二次笔记

orgin框架 笔记

【报名】解决科技创业者核心关切,「星云计划公开课」线上招生开启

Meta公司新探索 | 利用Alluxio数据缓存降低Presto延迟

RSA a little bit of thought

Information theory and coding 2 final review BCH code
随机推荐
WordPress的管理员用户名是如何泄露的
2022 the 15th Nanjing International Industrial Automation Exhibition
CG碰撞检测 Collision Testing
【奖励公示】【内容共创】第16期 五月絮升华,共创好时光!签约华为云小编,还可赢高达500元礼包!
Golang beep package playback MP3 cannot get the total length streamer Len() is 0, but other formats can
Golang Beep包 播放mp3 无法获取总长度 streamer.Len()为0 其他格式却可以
Several reasons and solutions of virtual machine Ping failure
2022南京国际智慧工地装备展览会
Euclidean algorithm for finding the greatest common factor
Meta公司新探索 | 利用Alluxio数据缓存降低Presto延迟
what‘t the meaning of “de facto“
JS中的call()方法和apply()方法用法总结
【LogoDetection 数据集处理】(4)提取每张图片的logo区域
Usage Summary of call () method and apply () method in JS
How the autorunner automated test tool creates a project -alltesting | Zezhong cloud test
Ada Logics:CRI-O整体安全审计项目
消息中间件的消费模式
Applet to realize global data sharing
产品开发的早期阶段,是选择开发app还是小程序?
一文带你了解J.U.C的FutureTask、Fork/Join框架和BlockingQueue