图中的这种要怎么实现,百度都是向内凹的圆角,一直找不到这种效果
4条回答 默认 最新
- CSDN专家-天际的海浪 2021-09-30 04:17关注
用css圆形渐变背景做,代码如下:(如有帮助,望采纳!谢谢! 点击我这个回答右上方的【采纳】按钮)
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title> 页面名称 </title> <style type="text/css"> #div { width: 200px; height: 50px; background-color: #99f; border-radius: 25px 25px 0px 0px; position: relative; } #div:before { content: ""; display: block; width: 25px; height: 25px; position: absolute; left: 100%; bottom: 0; background-image: radial-gradient(at top right, transparent 71%, #99f 0%); } </style> </head> <body> <div id="div"></div> </body> </html>
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 2无用
悬赏问题
- ¥15 如何在scanpy上做差异基因和通路富集?
- ¥20 关于#硬件工程#的问题,请各位专家解答!
- ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
- ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
- ¥30 截图中的mathematics程序转换成matlab
- ¥15 动力学代码报错,维度不匹配
- ¥15 Power query添加列问题
- ¥50 Kubernetes&Fission&Eleasticsearch
- ¥15 報錯:Person is not mapped,如何解決?
- ¥15 c++头文件不能识别CDialog