请问这种水滴形状用css怎么画呢?-灵析社区

JayCoder

如果要 **纯CSS** 可以改 `border-radius` 实现一个类似的,但一般绘图还是建议直接用 `canvas` 或者 `svg` ![image.png](https://wmprod.oss-cn-shanghai.aliyuncs.com/c/user/20241016/17186b6ae84841ea7ce23c5a15b33d8b.png) .water-drop { width: 100px; height: 260px; background-color: #3498db; border-radius: 50% 50% 50% 50% / 20% 20% 80% 80%; }

阅读量:1

点赞量:0

问AI