实例:滑动切换的注册登录界面
技术栈:HTML CSS JavaScript
效果:
源码:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<title>滑动切换的注册登录界面</title>
<link rel="stylesheet" href="../css/81.css">
</head>
<body>
<div class="container">
<div class="form-box">
<!-- 注册 -->
<div class="register-box hidden">
<h1>register</h1>
<