css绘制前端程序员技能图
代码语言:html
所属分类:布局界面
代码描述:css绘制前端程序员技能图
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@900&display=swap'); body { padding: 0; margin: 0; background: #1d1b38; } .container { width: 500px; height: 500px; background: #ffe0f7; border-radius: 50px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); overflow: hidden; box-shadow: 0 0 4px #ffe0f7; } p { position: relative; top: 14px; font-family: 'Poppins', sans-serif; } .desk { position: relative; width: 450px; height: 20px; border-radius: 10px; background: #005086; top: 450px; left: 25px; } .desk:before { content: ""; position: absolute; height: 10px; width: 300px; border-radius: 10px; top: 4px; right: 2px; background: #ffffff37; } .desk:after { content: ""; position: absolute; height: 12px; width: 12px; border-radius: 50%; top: 3px; right: 304px; background: #ffffff37; } .vase { width: 40px; height: 0; border-top: 50px solid #f6ab6c; border-left: 10px solid transparent; border-right: 10px solid transparent; position: relative; top: 380px; left: 60px; } .vase:before { content: ""; position: absolute; height: 10px; width: 60px; background: #ede682; bottom: 40px; left: -10px; } .vase:after { content: ""; position: absolute; height: 6px; width: 54px; border-radius: 50%; background: #ede682; bottom: 30px; left: -7px; } .leaf { background: #62760c; width: 16px; height: 50px; positio.........完整代码请登录后点击上方下载按钮下载查看
网友评论0