动态视频背景大气登录注册框效果
代码语言:html
所属分类:布局界面
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { padding: 0; margin: 0; } .vid-container { position: relative; height: 100vh; overflow: hidden; } .bgvid { position: absolute; left: 0; top: 0; width: 100vw; } .inner-container { width: 400px; height: 400px; position: absolute; top: calc(50vh - 200px); left: calc(50vw - 200px); overflow: hidden; } .bgvid.inner { top: calc(-50vh + 200px); left: calc(-50vw + 200px); filter: url("data:image/svg+xml;utf9,<svg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'><filter%20id='blur'><feGaussianBlur%20stdDeviation='10'%20/></filter></svg>#blur"); -webkit-filter: blur(10px); -ms-filter: blur(10px); -o-filter: blur(10px); filter: blur(10px); } .box { position: absolute; height: 100%; width: 100%; font-family: Helvetica; color: #fff; background: rgba(0,0,0,0.13); padding: 30px 0px; } .box h1 { text-align: center; margin: 30px 0; font-size: 30px; } .box input { display: block; width: 300px; margin: 20px auto; padding: 15px; background: rgba(0,0,0,0.2); color: #fff; border: 0; } .box input:focus,.box input:active,.box button:focus,.box but.........完整代码请登录后点击上方下载按钮下载查看
网友评论0