<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login</title>
<link rel="stylesheet" href="normalize.min.css">
<link rel="stylesheet" href="./style.css">
</head>
<body background="./bg.png" style="background-size:100% 100%; background-attachment: fixed;">
<div class="container right-panel-active">
<!-- 注册 -->
<div class="container_form container--signup">
<form action="#" class="form" id="form1">
<h2 class="form_title">注册</h2>
<input type="text" id="register-username" placeholder="用户名" class="input" required />
<input type="password" id="register-password" placeholder="密码" class="input" required />
<button type="submit" class="btn">注册</button>
</form>
</div>
<!-- 登录 -->
<div class="container_form container--signin">
<form action="#" class="form" id="form2">
<h2 class="form_title">登录</h2>
<input type="text" id="login-username" placeholder="用户名" class="input" required />
<input type="password" id="login-password" placeholder="密码" class="input" required />
<button type="submit" class="btn">登录</button>
<!-- 浮层 -->
<div class="container_overlay">
<div class="overlay">
<div class="overlay_panel overlay--left">
<button class="btn" id="signIn">已经有账号了?跳转回登录界面</button>
<div class="overlay_panel overlay--right">
<button class="btn" id="signUp">还没有账号吗?跳转进注册页面</button>
<!-- 背景 -->
<div class="slidershow">
<div class="slidershow--image" style="background-image: url('https://source.unsplash.com/Snqdjm71Y5s')"></div>
<div class="slidershow--image" style="background-image: url('https://source.unsplash.com/5APj-fzKE-k')"></div>
<div class="slidershow--image" style="background-image: url('https://source.unsplash.com/wnbBH_CGOYQ')"></div>
<div class="slidershow--image" style="background-image: url('https://source.unsplash.com/OkTfw7fXLPk')"></div>
<!-- partial -->
<script src="jquery-3.7.1.min.js"></script>
<script src="./script.js"></script>
</body>
</html>