Toggle navigation
在线编辑器
在线代码
文本比较
jQuery下载
前端库
在线手册
登录/注册
下载代码
html
css
js
分享到微信朋友圈
X
html
css
body{background-color: #1F1F1F;overflow: hidden} .container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 5px; box-shadow: 0px 30px 50px -20px rgba(0, 0, 0, 0.7); -webkit-animation: 5s angle infinite; animation: 5s angle infinite; } .camera-top, .camera-mid, .camera-bottom { width: 360px; } .camera-top { height: 60px; background: linear-gradient(to right, #e2e2e2 0%, #f5f5f5 10%, #f5f5f5 90%, #e2e2e2 100%); border: 1px solid #DCDCDC; border-top-left-radius: 5px; } .camera-top:before { display: block; content: ''; position: absolute; top: -20px; right: 0; width: 210px; height: 20px; background: linear-gradient(to right, #f5f5f5 0%, #f5f5f5 174px, #e2e2e2 100%); border: 1px solid #DCDCDC; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom: none; box-shadow: inset 0 15px 15px -15px #FDFDFD; } .camera-top .zoom { position: absolute; top: -15px; left: 30px; width: 42px; height: 9px; background: linear-gradient(to right, #b0b0b0 0%, #e2e2e2 30%, #e2e2e2 50%, #e2e2e2 70%, #b0b0b0 100%); border: 1px solid #A3A3A3; border-top-left-radius: 3px; border-top-right-radius: 3px; box-shadow: inset 0 15px 15px -15px #FDFDFD; } .camera-top .zoom:before { display: block; content: ''; position: relative; top: -6px; left: 50%; transform: translateX(-50%); width: 20px; height: 4px; background: linear-gradient(to right, #b0b0b0 0%, #e2e2e2 50%, #b0b0b0 100%); border: 1px solid #A3A3A3; border-top-left-radius: 3px; border-top-right-radius: 3px; } .camera-top .zoom:after { display: block; content: ''; position: relative; top: 3px; left: 50%; transform: translateX(-50%); width: 46px; height: 4px; background: linear-gradient(to right, #b0b0b0 0%, #e2e2e2 30%, #e2e2e2 50%, #e2e2e2 70%, #b0b0b0 100%); border: 1px solid #A3A3A3; border-bottom: none; border-top-left-radius: 3px; border-top-right-radius: 3px; } .camera-top .mode-changer { position: absolute; top: -20px; left: 82px; width: 60px; height: 16px; background: linear-gradient(to right, #b0b0b0 0%, #e2e2e2 30%, #e2e2e2 50%, #e2e2e2 70%, #b0b0b0 100%); border: 1px solid #A3A3A3; border-radius: 3px; box-shadow: inset 0 15px 15px -15px #FDFDFD; } .camera-top .mode-changer:after { display: block; content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 50px; height: 2px; background: linear-gradient(to right, #b0b0b0 0%, #e2e2e2 30%, #e2e2e2 50%, #e2e2e2 70%, #b0b0b0 100%); border: 1px solid #A3A3A3; border-bottom: none; } .camera-top .sides { width: 100%; } .camera-top .sides:before, .camera-top .sides:after { display: block; content: ''; position: absolute; top: 24px; width: 8px; height: 30px; background: linear-gradient(to bottom, #828181 0%, #696767 10%, #4f4d4d 50%, #403e3f 100%); border: 1px solid #3E3C3D; border-radius: 2px; box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.5); } .camera-top .sides:before { left: -4px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; } .camera-top .sides:after { right: -4px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; } .camera-top .range-finder { position: absolute; top: 10px; left: 105px; width: 30px; height: 20px; background: #3E3C3D; border-radius: 3px; box-shadow: inset 0 0 5px 3px #333132; } .camera-top .range-finder:before { display: block; content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; background: #797878; border-radius: 100%; } .camera-top .focus { position: absolute; top: -14px; left: 156px; width: 15px; height: 15px; background: #3F3D3E; border-radius: 100%; box-shadow: inset 0 0 4px 3px #2D2B2B, inset 0 4px 5px 0 #F5F5F5, inset 0 -3px 4px -2px #A3A2A2; } .camera-top .red { position: absolute; top: 5px; left: 165px; width: 30px; height: 30px; background: #DC2839; border-radius: 100%; } .camera-top .view-finder { position: absolute; left: 210px; width: 48px; height: 30px; background: radial-gradient(ellipse at center, #828181 0%, #403e3f 85%, #403e3f 100%); border: 3px solid #312F2F; border-radius: 4px; box-shadow: inset 0 8px 8px -8px #FDFDFD; } .camera-top .flash { position: absolute; top: -6px; right: 20px; width: 58px; height: 46px; background: radial-gradient(ellipse at center, #828181 0%, #403e3f 70%, #403e3f 100%); border: 2px solid #312F2F; border-radius: 3px; box-shadow: inset 0 8px 8px -8px #FDFDFD; } .camera-top .flash:before, .camera-top .flash:after { display: block; content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .camera-top .flash:before { width: 90%; height: 70%; background: radial-gradient(ellipse at center, #696767 0%, #1e1e1e 50%, #1e1e1e 100%); } .camera-top .flash:after { width: 16px; height: 14px; background: #797979; border-top-left-radius: 8px 2px; border-top-right-radius: 8px 2px; border-bottom-left-radius: 8px 2px; border-bottom-right-radius: 8px 2px; } .camera-top .flash .light { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; background: radial-gradient(ellipse at center, #ffffff 0%, rgba(255, 255, 255, 0) 100%); border-radius: 100%; z-index: 2; -webkit-animation: 1s flash infinite; animation: 1s flash infinite; } .camera-mid { position: relative; height: 130px; background: linear-gradient(to right, #e4e4e4 0%, #fafafa 10%, #fafafa 90%, #e4e4e4 100%); border: 1px solid #DCDCDC; border-top: none; border-bottom: none; box-shadow: inset 0 15px 15px -15px #FDFDFD; } .camera-mid .sensor { position: absolute; top: 40px; left: 105px; width: 30px; height: 30px; background: #545252; border: 2px solid #545252; border-radius: 100%; box-shadow: inset 0 12px 12px -10px #FDFDFD, 0 2px 5px 1px rgba(0, 0, 0, 0.3); } .camera-mid .sensor:before, .camera-mid .sensor:after { display: block; content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .camera-mid .sensor:before { width: 20px; height: 20px; background: linear-gradient(to bottom, #E9E9E9 0%, #BDBDBD 100%); border-radius: 100%; } .camera-mid .sensor:after { width: 12px; height: 12px; background: #FAFAFA; border-radius: 100%; box-shadow: 0 2px 3px 0 #747474; } .camera-mid .lens { position: absolute; top: -20px; left: 130px; width: 155px; height: 155px; background: radial-gradient(ellipse at center, #000000 0%, #000000 15%, #272525 30%, #403e3f 30%, #403e3f 31%, #403e3f 40%, #e9ebec 41%, #e9ebec 44%, #b0b1b2 48%, #e8e9ea 50%, #e8e9ea 60%, #f7f8f8 60%, #787979 65%, #ffffff 66%, #ffffff 100%); border: 1px solid #B6B7B8; border-radius: 100%; box-sizing: border-box; box-shadow: 0 7px 15px -2px rgba(0, 0, 0, 0.4), inset 0 -2px 15px -2px rgba(0, 0, 0, 0.2), inset 0 7px 15px -2px #FFF; } .camera-mid .lens:before { display: block; content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 25px; height: 25px; background: rgba(0, 0, 0, 0.7); border-radius: 100%; box-shadow: inset 0 5px 3px -2px rgba(255, 255, 255, 0.5), inset 0 -5px 20px -8px rgba(255, 255, 255, 0.5); } .camera-bottom { height: 16px; background: linear-gradient(to right, #e2e2e2 0%, #f5f5f5 10%, #f5f5f5 90%, #e2e2e2 100%); border: 1px solid #DCDCDC; border-bottom: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; box-shadow: inset 0 15px 15px -15px #FDFDFD, inset 0 -12px 12px -10px #797979; } @-webkit-keyframes flash { 0% { width: 0; height: 0; } 20% { width: 200px; height: 200px; } 25% { width: 0; height: 0; } 45% { width: 200px; height: 200px; } 50% { width: 0; height: 0; } 100% { width: 0; height: 0; } } @keyframes flash { 0% { width: 0; height: 0; } 20% { width: 200px; height: 200px; } 25% { width: 0; height: 0; } 45% { width: 200px; height: 200px; } 50% { width: 0; height: 0; } 100% { width: 0; height: 0; } } @-webkit-keyframes angle { 0% { transform: translate(-50%, -50%) rotate(0deg); box-shadow: 0px 30px 50px -20px rgba(0, 0, 0, 0.7); } 25% { transform: translate(-50%, -50%) rotate(2deg); box-shadow: 10px 30px 50px -20px rgba(0, 0, 0, 0.7); } 75% { transform: translate(-50%, -50%) rotate(-2deg); box-shadow: -10px 30px 50px -20px rgba(0, 0, 0, 0.7); } 100% { transform: translate(-50%, -50%) rotate(0deg); box-shadow: 0px 30px 50px -20px rgba(0, 0, 0, 0.7); } } @keyframes angle { 0% { transform: translate(-50%, -50%) rotate(0deg); box-shadow: 0px 30px 50px -20px rgba(0, 0, 0, 0.7); } 25% { transform: translate(-50%, -50%) rotate(2deg); box-shadow: 10px 30px 50px -20px rgba(0, 0, 0, 0.7); } 75% { transform: translate(-50%, -50%) rotate(-2deg); box-shadow: -10px 30px 50px -20px rgba(0, 0, 0, 0.7); } 100% { transform: translate(-50%, -50%) rotate(0deg); box-shadow: 0px 30px 50px -20px rgba(0, 0, 0, 0.7); } }
JavaScript
粒子
时间
文字
hover
canvas
3d
游戏
音乐
火焰
水波
轮播图
鼠标跟随
动画
css
加载动画
导航
菜单
按钮
滑块
tab
弹出层
统计图
svg
×
Close
在线代码下载提示
开通在线代码永久免费下载,需支付20jQ币
开通后,在线代码模块中所有代码可终身免费下!
您已开通在线代码永久免费下载,关闭提示框后,点下载代码可直接下载!
您已经开通过在线代码永久免费下载
对不起,您的jQ币不足!可通过发布资源 或
直接充值获取jQ币
取消
开通下载
<!doctype html> <html> <head> <meta charset="utf-8"> <title>CSS Camera-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号