-
Notifications
You must be signed in to change notification settings - Fork 62
/
step1.html
44 lines (40 loc) · 1.69 KB
/
step1.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
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Interactive Hover Effects with Three.js | Demo 1</title>
<meta name="description" content="Interactive Hover Effects with Three.js" />
<meta name="keywords" content="three.js, webgl, hover, image, effect, website, web development" />
<meta name="author" content="Codrops" />
<link rel="stylesheet" href="https://use.typekit.net/yae0eed.css">
<link rel="stylesheet" type="text/css" href="css/base.css" />
<script>
document.documentElement.className = "js";
var supportsCssVars = function() { var e, t = document.createElement("style"); return t.innerHTML = "root: { --tmp-var: bold; }", document.head.appendChild(t), e = !!(window.CSS && window.CSS.supports && window.CSS.supports("font-weight", "var(--tmp-var)")), t.parentNode.removeChild(t), e };
supportsCssVars() || alert("Please view this in a modern browser that supports CSS Variables.");
</script>
</head>
<body class="loading">
<main>
<!-- begin scrollable -->
<div data-scroll>
<header class="header">
<h1 class="header__title">Interactive Hover Effects with Three.js</h1>
<div class="info">
<a class="info__link" href="https://tympanus.net/codrops/?p=49069">Article</a>
<a class="info__link" href="https://github.com/akella/webgl-mouseover-effects">GitHub</a>
</div>
</header>
<!-- begin section -->
<section class="section centered">
<img src="img/5.jpg" alt="Some image" id="texture">
</section>
<!-- end section -->
</section>
<!-- end scrollable -->
</main>
<div id="container"></div>
<script src="js/step1.js"></script>
</body>
</html>