css布局实现卡通人物波加曼效果代码
代码语言:html
所属分类:布局界面
代码描述:css布局实现卡通人物波加曼效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> * { margin: 0; padding: 0; } body { height: 100vh; width: 100vw; display: flex; justify-content: center; align-items: center; flex-direction: column; background: #558bc1; } .piplup-head { position: relative; background: #5993ce; height: 24vmin; width: 26vmin; border-radius: 50%; margin-top: 10vmin; } .piplup-head::after { content: ""; position: absolute; background: white; height: 13vmin; width: 10vmin; border-radius: 49% 51% 46% 54% / 78% 96% 4% 22%; top: 5vmin; left: 0.2vmin; } .piplup-head::before { content: ""; position: absolute; background: white; height: 13vmin; width: 12vmin; border-radius: 49% 51% 46% 54% / 78% 96% 4% 22%; top: 5vmin; left: 13.9vmin; transform: scalex(-1); .........完整代码请登录后点击上方下载按钮下载查看
网友评论0