css实现水滴效果代码
代码语言:html
所属分类:布局界面
代码描述:css实现水滴效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; margin: 0; background: rgb(150, 150, 180); } .water-droplet { width: 160px; height: 168px; border-radius: 100% 84% 96% 88%; position: relative; background: radial-gradient( ellipse at 22% 20%, rgba(40, 50, 60, 1) 0%, rgba(35, 40, 70, 1) 28%, rgba(255, 255, 255, 1) 100% ); box-shadow: 10px 10px 15px 5px rgba(0, 0.........完整代码请登录后点击上方下载按钮下载查看
网友评论0