Repository navigation
Expand file tree
/
Copy pathindex12.html
More file actions
76 lines (76 loc) · 4.06 KB
/
Copy pathindex12.html
File metadata and controls
76 lines (76 loc) · 4.06 KB
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
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Fullscreen Overlay Styles & Effects | Demo 12</title>
<meta name="description" content="Fullscreen Overlay Styles & Effects" />
<meta name="keywords" content="fullscreen overlay, overlay menu, inspiration, styles, effect, css" />
<meta name="author" content="Codrops" />
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/style12.css" />
<script src="js/snap.svg-min.js"></script>
<script src="js/modernizr.custom.js"></script>
</head>
<body>
<div class="container">
<!-- Top Navigation -->
<div class="codrops-top clearfix">
<a class="codrops-icon codrops-icon-prev" href="http://tympanus.net/Development/ScatteredPolaroidsGallery/"><span>Previous Demo</span></a>
<span class="right"><a class="codrops-icon codrops-icon-drop" href="http://tympanus.net/codrops/?p=18459"><span>Back to the Codrops Article</span></a></span>
</div>
<header class="codrops-header">
<h1>Fullscreen Overlay Styles & Effects</h1>
<nav class="codrops-demos">
<a href="index.html">Huge Inc</a>
<a href="index2.html">Corner</a>
<a href="index3.html">Slide down</a>
<a href="index5.html">Scale</a>
<a href="index6.html">Door</a>
<a href="index7.html">Content Push</a><br/>
<a href="index8.html">Content Scale</a>
<a href="index9.html">Corner Shape</a>
<a href="index10.html">Little Boxes</a>
<a href="index11.html">Simple Genie</a>
<a class="current-demo" href="index12.html">Genie</a>
</nav>
</header>
<section>
<p>Genie effect with SVG animation.</p>
<p><button id="trigger-overlay" type="button">Open Overlay</button></p>
</section>
<section class="related">
<p>If you enjoyed this demo you might also like:</p>
<a href="http://tympanus.net/Development/PerspectivePageViewNavigation/">
<img src="http://codropspz.tympanus.netdna-cdn.com/codrops/wp-content/uploads/2013/12/PerspectiveNavigation-300x162.png" />
<h3>Perspective Page View Navigation</h3>
</a>
<a href="http://tympanus.net/Tutorials/AnimatedBorderMenus/">
<img src="http://tympanus.net/codrops/wp-content/uploads/2013/09/AnimatedBorderMenus-300x162.png" />
<h3>Animated Border Menus</h3>
</a>
</section>
</div><!-- /container -->
<!-- open/close -->
<div class="overlay overlay-genie" data-steps="m 701.56545,809.01175 35.16718,0 0,19.68384 -35.16718,0 z;m 698.9986,728.03569 41.23353,0 -3.41953,77.8735 -34.98557,0 z;m 687.08153,513.78234 53.1506,0 C 738.0505,683.9161 737.86917,503.34193 737.27015,806 l -35.90067,0 c -7.82727,-276.34892 -2.06916,-72.79261 -14.28795,-292.21766 z;m 403.87105,257.94772 566.31246,2.93091 C 923.38284,513.78233 738.73561,372.23931 737.27015,806 l -35.90067,0 C 701.32034,404.49318 455.17312,480.07689 403.87105,257.94772 z;M 51.871052,165.94772 1362.1835,168.87863 C 1171.3828,653.78233 738.73561,372.23931 737.27015,806 l -35.90067,0 C 701.32034,404.49318 31.173122,513.78234 51.871052,165.94772 z;m 52,26 1364,4 c -12.8007,666.9037 -273.2644,483.78234 -322.7299,776 l -633.90062,0 C 359.32034,432.49318 -6.6979288,733.83462 52,26 z;m 0,0 1439.999975,0 0,805.99999 -1439.999975,0 z">
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 1440 806" preserveAspectRatio="none">
<path class="overlay-path" d="m 701.56545,809.01175 35.16718,0 0,19.68384 -35.16718,0 z"/>
</svg>
<button type="button" class="overlay-close">Close</button>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Work</a></li>
<li><a href="#">Clients</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</div>
<script src="js/classie.js"></script>
<script src="js/demo12.js"></script>
</body>
</html>