css绘制破壳的鸡蛋效果代码

代码语言:html

所属分类:布局界面

代码描述:css绘制破壳的鸡蛋效果代码

代码标签: css 破壳 鸡蛋

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <style>
        body{background-color:#69639e;justify-content:space-around;display:flex;algin-items:center}.egg{top:20px;height:320px;width:270px;background:radial-gradient(ellipse at 60% 20%,#fff 0,#f4D9BD 14%,#edcfaa 35%,#907080 80%);position:relative;border-radius:50%;box-shadow:-15px 120px 40px -30px #474666,0px 50px 40px -10px #8B7D97,10px -45px 40px -20px #937E90 inset,0px -10px 60px 0 #69639e inset}.egg::after,.egg::before{content:'';position:absolute;border-radius:50%;width:160px;heig.........完整代码请登录后点击上方下载按钮下载查看

网友评论0