You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
112 lines
3.3 KiB
HTML
112 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
<!-- CSS only -->
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
|
|
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
|
|
<style>
|
|
body {
|
|
font-family: 微軟正黑體, "Microsoft JhengHei";
|
|
}
|
|
|
|
.jumbotron {
|
|
background-image: url(https://images.unsplash.com/photo-1531062916849-ac6624741870?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1350&q=80);
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
input.form-check-input[type="radio"] {
|
|
transform: scale(1.5);
|
|
}
|
|
|
|
#activity {
|
|
margin: auto;
|
|
border-radius: 5px;
|
|
background: rgba(255, 255, 255, .8);
|
|
box-shadow: 3px 3px 6px 3px rgba(0, 0, 0, .3);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#activity::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
filter: blur(20px);
|
|
z-index: -1;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="jumbotron jumbotron-fluid">
|
|
<div class="container py-4" id="activity">
|
|
<h1 class="display-4">限時活動</h1>
|
|
<h1>6/11-6/12</h1>
|
|
<p class="h4">填完以下資料即可獲得一組免費兌換的優惠碼喔~</p>
|
|
<p class="lead">限量 50 組</p>
|
|
</div>
|
|
</div>
|
|
<div class="container my-4">
|
|
<form action="/datas/" method="POST">
|
|
<!-- 性別 -->
|
|
<h4>我是...</h4>
|
|
<div class="d-flex">
|
|
<div class="form-check mx-3">
|
|
<input class="form-check-input" type="radio" name="sex" id="sexRadios1" value="male" checked>
|
|
<label class="form-check-label" for="sexRadios1">
|
|
男生
|
|
</label>
|
|
</div>
|
|
<div class="form-check mr-3">
|
|
<input class="form-check-input" type="radio" name="sex" id="sexRadios2" value="female">
|
|
<label class="form-check-label" for="sexRadios2">
|
|
女生
|
|
</label>
|
|
</div>
|
|
</div>
|
|
|
|
<h4 class="mt-4 pb-2">我從何得知此活動消息</h4>
|
|
<div class="d-flex">
|
|
<select class="form-control" name="where">
|
|
<option>林口新創園 Line@</option>
|
|
<option>林口新創園 FB 專頁</option>
|
|
<option value="friend">朋友帶我來的~</option>
|
|
<option value="other">其他...</option>
|
|
</select>
|
|
</div>
|
|
|
|
<h4 class="mt-4 pb-2">我的電子信箱</h4>
|
|
<div class="d-flex">
|
|
<input type="email" class="form-control" id="exampleInputEmail1" name="email">
|
|
</div>
|
|
|
|
<h4 class="mt-4 pb-2">我的電話</h4>
|
|
<div class="d-flex">
|
|
<input type="tel" class="form-control" id="phone" name="phone" pattern="[0-9]{10}">
|
|
</div>
|
|
|
|
<div class="mt-4">
|
|
<input class="btn btn-info" type="submit" value="我填完了" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
<footer class="bg-dark">
|
|
<!-- Footer Elements -->
|
|
<div class="container">
|
|
</div>
|
|
|
|
<!-- Copyright -->
|
|
<div class="text-light text-center py-3">© 2020 Copyright: AIWill Lab Co.Ltd.</a></div>
|
|
</footer>
|
|
|
|
</html> |