Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } html, body { height: 100%; width: 100%; padding: 0; margin: 0; } body { position: relative; display: -webkit-box; display: flex; flex-wrap: wrap; } .section { display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; -webkit-box-flex: 1; flex-grow: 1; width: 50%; } .section:first-child { background-color: #f4c99f; } .section:nth-child(2) { background-color: #fff09b; } .section:nth-child(3) { background-color: #faa7a8; } .section:nth-child(4) { background-color: #cbcded; } .container { position: absolute; display: -webkit-box; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; width: 200px; height: 200px; } .face { border-bottom-left-radius: 100px; border-bottom-right-radius: 100px; border: 3px solid #003459; width: 32px; height: 16px; border-top: 0; position: absolute; top: 46%; left: 42%; } .face:after { content: ""; border-radius: 50%; background-color: #003459; width: 8px; height: 8px; position: absolute; top: -150%; left: -16px; box-shadow: 48px 0 #003459; } .highlight { border: 8px solid rgba(255, 255, 255, 0.5); border-bottom: 0; border-left: 0; border-top-right-radius: 50px; width: 40px; height: 40px; z-index: 99; position: absolute; right: 30px; top: 30px; } .lollipop .heart { position: absolute; width: 100%; height: 100%; top: -20%; left: -2%; } .lollipop .heart-face { background-color: #cbcded; width: 100px; height: 100px; position: absolute; border-radius: 10px; top: 50px; left: 50px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); border: 2px solid #003459; } .lollipop .heart-face:before { content: ""; width: 100px; height: 100px; border-radius: 50%; background-color: #cbcded; border: 2px solid #003459; position: absolute; top: -50px; left: -2px; } .lollipop .heart-face:after { z-index: -1; border: 2px solid #003459; content: ""; width: 100px; height: 100px; border-radius: 50%; background-color: #cbcded; position: absolute; top: -2px; left: 45px; } .lollipop .heart-face .line-eraser { width: 104%; height: 103%; top: -3%; position: absolute; background-color: #cbcded; border-radius: 10px; } .lollipop .heart:nth-child(1) .heart-face { top: 48px; left: 55px; -webkit-transform: rotate(-45deg) scale(1.02); transform: rotate(-45deg) scale(1.02); background-color: #7f84d3; } .lollipop .heart:nth-child(1) .heart-face:before, .lollipop .heart:nth-child(1) .heart-face:after { background-color: #7f84d3; } .lollipop .stick { border: 2px solid #003459; height: 120px; width: 10px; position: absolute; bottom: -40px; left: 47%; background-color: #f0f0f0; border-radius: 0 0 4px 4px; } .donut .donut-body { width: 100%; height: 100%; border-radius: 50%; background-color: #f77778; border: 2px solid #003459; } .donut .donut-body:before { content: ""; position: absolute; width: 92%; height: 92%; top: 4px; right: 4px; background-color: #faa7a8; border-radius: 50%; } .donut .donut-body:after { content: ""; position: absolute; width: 30%; height: 30%; top: 35%; left: 35%; background-color: #fff09b; border-radius: 50%; border: 2px solid #003459; } .donut .face { top: 22%; left: 42%; } .donut .highlight { border-bottom: 0; border-left: 0; border-top-right-radius: 50px; width: 40px; height: 40px; left: 50px; top: 105px; -webkit-transform: rotate(180deg); transform: rotate(180deg); } .ice-cream .bottom { position: absolute; border-style: solid; border-width: 50px 100px 50px 0; border-color: transparent; border-right-color: #003459; -webkit-transform: rotate(-90deg) scale(1.3); transform: rotate(-90deg) scale(1.3); top: 42%; } .ice-cream .bottom:before { position: absolute; content: ""; width: 100%; height: 100%; top: 0; left: -50%; border-style: solid; border-width: 50px 100px 50px 0; border-color: transparent; border-right-color: #ffac1a; -webkit-transform: translateY(-50%) scale(0.94); transform: translateY(-50%) scale(0.94); } .ice-cream .bottom:after { position: absolute; content: ""; width: 100%; height: 100%; top: 0; border-style: solid; border-width: 50px 100px 50px 0; border-color: transparent; border-right-color: #ffd180; -webkit-transform: translate(10%, -45%) scale(0.9); transform: translate(10%, -45%) scale(0.9); } .ice-cream .top { position: absolute; width: 70%; height: 42%; border-radius: 80px 80px 5% 5%; background-color: #efaf71; top: 0%; border: 2px solid #003459; } .ice-cream .top .top-scoop:after { content: ""; position: absolute; width: 90%; height: 114%; right: 1px; top: 4%; border-radius: 80px 80px 5% 5%; background-color: #f4c99f; } .ice-cream .top .scoop { position: absolute; border-radius: 50%; width: 50px; height: 50px; bottom: -30%; left: -5px; background-color: #f4c99f; border: 2px solid #003459; } .ice-cream .top .scoop:nth-child(2) { left: 27px; } .ice-cream .top .scoop:nth-child(3) { left: 60px; } .ice-cream .top .scoop:nth-child(4) { left: 91px; } .ice-cream .top .scoop:nth-child(1):after { position: absolute; content: ""; width: 105%; height: 105%; background-color: #f4c99f; border-radius: 50%; top: -3px; } .ice-cream .top .line-eraser { position: absolute; background-color: #e6eeca; width: 100%; bottom: -14px; border-radius: 10px; } .ice-cream .face { top: 32%; left: 42%; z-index: 3; } .ice-cream .highlight { right: 15px; top: 15px; } .cupcake .bottom { width: 60%; height: 50%; bottom: -7px; position: absolute; -webkit-perspective: 200px; perspective: 200px; z-index: 1; } .cupcake .bottom .bottom-in { background-color: #ffac1a; border: 2px solid #003459; width: 100%; height: 100%; -webkit-transform: rotateX(-20deg); transform: rotateX(-20deg); border-radius: 5px 5px 10px 10px; } .cupcake .bottom .bottom-in:after { content: ""; position: absolute; background-color: #ffd180; width: 90%; height: 100%; right: 0; border-radius: 5px 5px 10px 10px; } .cupcake .top { position: absolute; bottom: 43%; width: 70%; height: 50%; z-index: 2; } .cupcake .cream { position: absolute; border-radius: 30px; border: 2px solid #003459; background-color: #ffe868; height: 40px; width: 100%; left: 0%; bottom: 0%; -webkit-transform: rotate(4deg); transform: rotate(4deg); z-index: 4; } .cupcake .cream:after { content: ""; position: absolute; height: 100%; width: 90%; background-color: #fff09b; top: 0; right: 0; border-radius: 30px; } .cupcake .cream:nth-child(2) { width: 90%; left: 5%; bottom: 25px; z-index: 3; } .cupcake .cream:nth-child(3) { width: 70%; left: 15%; bottom: 50px; z-index: 2; } .cupcake .cream:nth-child(4) { width: 50%; left: 25%; bottom: 33px; z-index: 1; -webkit-transform: rotate(45deg); transform: rotate(45deg); height: 70%; border-radius: 15px; } .cupcake .highlight { right: 7%; top: 10%; width: 15px; height: 15px; border-width: 6px; } .cupcake .face { left: 38%; } @media screen and (max-width: 480px) { .section { width: 100%; height: 320px; } }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Css涂鸦-jq22.com</title> <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script> <style>
</style> </head> <body>
<script>
</script>
</body> </html>
2012-2021 jQuery插件库版权所有
jquery插件
|
jq22工具库
|
网页技术
|
广告合作
|
在线反馈
|
版权声明
沪ICP备13043785号-1
浙公网安备 33041102000314号