用纯css画出一个美女的侧面
代码语言:html
所属分类:其他
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title> Pure CSS Girl Portrait</title> <style> body { background: #ffffff; } girl { position: absolute; left: 40%; } hair { background: #fefbef; height: 630px; border-radius: 50% 0 0 0; width: 310px; top: 0px; left: -195px; position: absolute; z-index: 999; filter: blur(4px); } hair::after { content: ""; transform: rotate(25deg); background: #fefbef; height: 240px; width: 110px; top: -5px; left: 240px; position: absolute; z-index: 999; filter: blur(4px); } hair1 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 110px; position: absolute; z-index: 999; filter: blur(2px); border-left: 3px solid #fefbef; } hair2 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 105px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e2e2d7; } hair3 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 100px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair4 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 95px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair5 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 90px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair6 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 85px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair7 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 80px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair8 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 75px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair9 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 70px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair10 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 65px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair11 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 60px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair12 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 55px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair13 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 50px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair14 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 45px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair15 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 40px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair16 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 35px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair17 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 30px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair18 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 25px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair19 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 20px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair20 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 15px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair21 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 10px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair22 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 5px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair23 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: 0px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair24 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -5px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair25 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -10px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair26 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -15px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair27 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -20px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair28 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -25px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair29 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -30px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair30 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -35px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair31 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -40px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair32 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -45px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair33 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -50px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair34 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -55px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair35 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -60px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair36 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -65px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair37 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -70px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair38 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -75px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair39 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -80px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair40 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -85px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair41 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -90px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair42 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -95px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair43 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -100px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair44 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -105px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair45 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -110px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair46 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -115px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #e0d9d1; } hair47 { background: transparent; border-radius: 50% 0 0 0; height: 630px; width: 400px; top: 0px; left: -120px; position: absolute; z-index: 999999; filter: blur(2px); border-left: 3px solid #fbfdef; } hair48 { background: transparent; border-radius: 50%.........完整代码请登录后点击上方下载按钮下载查看
网友评论0