forked from stephenwalker78/meeting-cards
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
57 lines (56 loc) · 3.02 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
<!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">
<title>Meeting Cards</title>
<link rel="apple-touch-icon" href="icons/Icon-80.png">
<link rel="apple-touch-icon" sizes="152x152" href="icons/Icon-152.png">
<link rel="apple-touch-icon" sizes="167x167" href="icons/Icon-167.png">
<link rel="apple-touch-icon" sizes="180x180" href="icons/Icon-180.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Bootstrap -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<!-- jquery -->
<script src="js/jquery-3.5.1.min.js"></script>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style type="text/css">
img {
background-color:pink;
margin:0px;
padding:0px;
float:left;
}
.blue{background-color: #5eb5d7;}
.green{background-color: #9db616;}
.yellow{background-color: #ffde02;}
p { text-align: center;}
.small{
width:25%;
height:auto;
}
.full{
width:100%;
padding: 30px;
}
</style>
</head>
<body>
<img id="crd-a" alt="" class="small blue" src="images/mtg-crd-01.png"> <img id="crd-b" alt="" class="small green" src="images/mtg-crd-02.png"> <img id="crd-c" alt="" class="small yellow" src="images/mtg-crd-03.png"> <img id="crd-d" alt="" class="small blue" src="images/mtg-crd-04.png"> <img id="crd-e" alt="" class="small green" src="images/mtg-crd-05.png"> <img id="crd-f" alt="" class="small yellow" src="images/mtg-crd-06.png"> <img id="crd-g" alt="" class="small blue" src="images/mtg-crd-07.png"> <img id="crd-h" alt="" class="small green" src="images/mtg-crd-08.png"> <img id="crd-i" alt="" class="small yellow" src="images/mtg-crd-09.png"> <img id="crd-j" alt="" class="small blue" src="images/mtg-crd-10.png"> <img id="crd-k" alt="" class="small green" src="images/mtg-crd-11.png"> <img id="crd-l" alt="" class="small yellow" src="images/mtg-crd-12.png"> <img id="crd-m" alt="" class="small blue" src="images/mtg-crd-13.png"> <img id="crd-n" alt="" class="small green" src="images/mtg-crd-14.png"> <img id="crd-o" alt="" class="small yellow" src="images/mtg-crd-15.png"> <img id="crd-p" alt="" class="small blue" src="images/mtg-crd-16.png">
Designed by <a href="https://twitter.com/stephenwalker78">Stephen Walker</a> at <a href="http://seethinkdo.it">See Think Do</a>. Fork on <a href="https://github.com/mpetersen/meeting-cards">Github</a>.
<script>
$( "img" ).click(function() {
$( this ).toggleClass( "full" );
$('html, body').animate({
scrollTop: $(this).offset().top
},0);
});
</script>
</body>
</html>