单个div+css实现vr眼镜view-master代码
代码语言:html
所属分类:布局界面
代码描述:单个div+css实现vr眼镜view-master代码
代码标签: 单个 div css vr眼镜 view-master 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { min-height: 300px; height: 100vh; position: relative; background-color: #f4a460; } div { position: absolute; left: 50%; top: 50%; } div::before, div::after { display: block; content: ''; position: absolute; } #vintage { font-size: 42px; width: 4.8em; height: 4.3em; margin-left: -2.4em; margin-top: -2.15em; background: linear-gradient(#d73030, #d73030) 0 0/13.5% 3%, linear-gradient(#d73030, #d73030) 100% 0/13.5% 3%, linear-gradient(#d73030, #d73030) 0 0/3% 35%, linear-gradient(#d73030, #d73030) 100% 0/3% 35%, linear-gradient(to right, #d73030, #bf2424) 0 35%/100% 3%, linear-gradient(60deg, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0) 40%) 0 0/100% 100%, linear-gradient(110deg, #b22222 10%, transparent 11%) 50% 26%/35% 10%, linear-gradient(-110deg, #b22222 10%, transparent 11%) 50% 26%/35% 10%, linear-gradient(55deg, #6d1515 25%, transparent 26%) 50% 26%/35% 10%, linear-gradient(-55deg, #6d1515 25%, #111 26%) 50% 26%/35% 10%, radial-gradient(circle at 50% -60%, transparent 42%, #d73030 42.5%, #d73030 44.2%, #b22222 44.4%) 0 0/100% 100%, linear-gradient(#222, #222) 50% 7%/10% 10%, linear-gradient(160deg, transparent 41%, #222 42%) 35% 6%/10% 10%, linear-gradient(-160deg, transparent 41%, #222 42%) 65% 6%/10% 10%, radial-grad.........完整代码请登录后点击上方下载按钮下载查看
网友评论0