forked from Muraconti/bootcamp-pair3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (46 loc) · 781 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Git Playground!!</title>
<meta name="keywords" content="">
<meta name="description" content="">
<script src="js/jquery-1.11.2.min.js"></script>
<script>
$(function(){
$('button').click(function(){
alert('おっす!');
});
});
</script>
</head>
<body>
<style>
*{
margin:0;
padding: 0;
box-sizing: border-box;
}
.box{
position:absolute;
top:50%;
left:50%;
transform: translate(-50%, -50%);
width: 500px;
height: 500px;
background-color: #000;
border:4px solid #D10000;
}
p{
font-size: 50px;
line-height: 500px;
text-align: center;
color: #fff;
}
</style>
<button>いいね!</button>
<div class="box">
<p>上野毛道場へ行こう</p>
</div>
</body>
</html>