div+css实现酷黑手机登录注册表单页面代码
代码语言:html
所属分类:表单美化
代码描述:div+css实现酷黑手机登录注册表单页面代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> * { -webkit-box-sizing: border-box; box-sizing: border-box; outline-color: #951fae; } body { background-color: #302f37; color: #3d3d3d; display: grid; font-family: 'Helvetica Neue', sans-serif; line-height: 1.5; margin: 0; min-height: 100vh; padding: 10vmin; -webkit-box-align: center; -ms-flex-align: center; align-items: center; justify-items: center; place-items: center; } a { color: #fcfcfc; text-decoration: none; -webkit-transition: color 0.3s ease-in-out; -o-transition: color 0.3s ease-in-out; transition: color 0.3s ease-in-out; } a:focus, a:hover { color: #e3e3e3; } button { background: none; border: 0; color: inherit; font: inherit; margin: 0; padding: 0; } h1 { color: #fcfcfc; line-height: 1.2; margin: 0; } input { border: 0; color: inherit; font: inherit; } p { margin-top: 1em; margin-bottom: 1em; } .header { -webkit-box-align: center; -ms-flex-align: center; align-items: center; display: -webkit-box; display: -ms-flexbox; display: flex; grid-gap: 1em; gap: 1em; margin-bottom: 3em; } .icon { display: inline-block; fill: currentColor; height: 1.5em; width: 1.5em; } .buttons { display: -webkit-box; display: -ms-flexbox; display: flex; grid-gap: 1em; gap: 1em; list-style: none; margin: 0 0 2em; padding: 0; } .buttons li { width: 100%; } .button { background-color: #171717; border: 1px solid #191919; border-radius: 1em; color: #fcfcfc; cursor: pointer; display: inline-block; padding: 0.875em 1.25em; text-align: center; -webkit-transition: background-color 0.3s ea.........完整代码请登录后点击上方下载按钮下载查看
网友评论0