jquery+css实现登录注册表单层叠切换效果代码
代码语言:html
所属分类:表单美化
代码描述:jquery+css实现登录注册表单层叠切换效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> @import 'https://fonts.googleapis.com/css?family=Dosis|Roboto:300,400'; * { margin: 0; padding: 0; } body { background: #ffc185; } .container{ position:absolute; width: auto; height:auto; top: calc(50% - 240px); left: calc(50% - 160px); } form { position: absolute; text-align: center; background: #fff; width: 310px; height: 470px; border-radius: 5px; padding: 30px 20px 0 20px; box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.25); box-sizing: border-box; } p { font-family: 'Roboto', sans-serif; font-weight: 100; text-transform: uppercase; font-size: 12px; color: #87613d; margin-bottom: 40px; } p > span { padding-top: 3px; display: block; font-weight: 400; font-size: 9px; } h3 { font-family: 'Dosis'; font-size: 35px; text-transform: uppercase; color: #87613d; margin-bottom: 30px; } input, button{ outline: none !important; } .........完整代码请登录后点击上方下载按钮下载查看
网友评论0