-
Notifications
You must be signed in to change notification settings - Fork 0
/
2d-planes+SVG.html
49 lines (48 loc) · 1.61 KB
/
2d-planes+SVG.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>2D Planes & SVG</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Gajraj+One&display=swap" rel="stylesheet">
<style>
* {
margin: 0; padding: 0; box-sizing: border-box;
}
body{
background: rgb(131,58,180);
background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
font-family: Arial, Helvetica, sans-serif;
font-size: 22px;
}
h1#main-title{
font-family: 'Gajraj One', cursive;
font-size: 3.4em;
color: white;
position: absolute;
margin-left: -300px;
width: 600px;
left: 50%;
top: -10px;
}
</style>
</head>
<body>
<h1 id="main-title">PORTFOLIO</h1>
<!-- Import maps polyfill -->
<!-- Remove this when import maps will be widely supported -->
<script async src="https://unpkg.com/es-module-shims@1.3.6/dist/es-module-shims.js"></script>
<script type="importmap">
{
"imports": {
"three": "./js/three.module.js",
"three/addons/": "./js/jsm/"
}
}
</script>
<script type="module" src="js/main-3.js"></script>
</body>
</html>