-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (60 loc) · 1.5 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Alexander Ström - Frontend developer</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<style>
body {
height: 100vh;
font-family: 'Open Sans', sans-serif;
position: relative;
margin: 0;
padding: 0;
background: #EAEAEA;
display: flex;
align-items: center;
}
.container {
font-family: 'Open Sans', sans-serif;
position: relative;
flex: 1;
transition: opacity 0.8s ease, transform 0.5s ease;
opacity: 0;
transform: translateY(20px);
}
.container.visible {
opacity: 1;
transform: translateY(0);
}
h1 {
text-align: center;
font-weight: 700;
color: #fff;
margin: -40px 0 10px;
}
h2 {
text-align: center;
color: #fff;
margin: 0;
}
</style>
</head>
<body>
<div class="container">
<h1 title="Alexander Ström">
Alexander Ström
</h1>
<h2>
Frontend Developer
</h2>
</div>
<!-- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-rc1/core.js"></script> -->
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script type="text/javascript">
setTimeout(function() {
$('.container').addClass('visible');
}, 500);
</script>
</body>
</html>