-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
52 lines (49 loc) · 2.4 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
<!doctype html>
<html lang="en">
<head>
<title>explodal</title>
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name="msapplication-tap-highlight" content="no" />
<link rel="stylesheet" href="assets/css/normalize.css">
<link rel="stylesheet" href="assets/css/styles.css?v=001.1">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div class="app">
<div class="canvas">
<div>
<h1>The Explodal</h1>
<h2 class="huge">The Most Explosive Modal on the Web</h2>
<h2>97.32% CSS and one tiny line of JS<sup>*</sup></h2>
<a href="#explode" class="ui--button" onclick="document.getElementById('boooom').setAttribute('src', 'assets/img/explode-med.gif');">Demo — Explode Modal</a>
<!-- ^^ necessary little bit of JS to make sure the animated GIF play (not affected by caching). -->
<p><small><i><sup>*</sup>and a wee gif</i> — <a href="https://github.com/jessekorzan/expodal">View on GitHub</a></small></p>
<p><small><a href="http://emptycan.com" title="I got more to see" style="opacity: 0.5;">emptycan.com</a></small></p>
</div>
</div>
</div>
<div id="explode" class="ui--modal explode">
<div>
<a href="#close" class="material-icons ui--close">clear</a>
<h3 class="huge">Boooooom!!!</h3>
<p>Bounce rates will be blown away. Conversions will rocket as your users fist-pump with every interaction on your site.</p>
<a href="#close" class="ui--button alt">dismiss</a>
</div>
<div class="bg">
<img src="assets/img/explode-med.gif" id="boooom">
</div>
</div>
<!-- GA -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-37045209-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>