summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.7.ch11gallery/11.7.index.html
blob: b062c1769fbaec3ca73a70410afc1ed49b3ab93a (plain) (blame)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
    <head>	
        <title>First HTML Webpage</title>
        <meta charset="utf-8">
    </head>
    <style>    

body { 
    font-family: Trajan Pro, Verdana, Arial;
}

h1 { 
    padding: .5em;
    height: 2em;
}

.gallery { 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 70%;
    margin: auto;
}

figure { 
    position: relative;
    opacity: .75;
    transition: all ease-out 3s;
    margin: 1em;
    z-index: 1;
    background-color: #FFF;
    color: rgba(0,0,0,0);
    font-size: .5em;
    text-align: center;
}

figure:hover { 
    opacity: 1;
    transform: scale(3);
    z-index: 999;
    box-shadow: 3px 3px 3px #333;
    color: rgba(0, 0, 0, 1);
}

    </style>
    <body>
        <h1>Image Gallery</h1>
        <div id=gallery>

            <figure><a href="11.7.broken-arrow-trail.jpg"><img src="11.7.photo1thumb.jpg" width=100 height=100 alt="Broken Arrow Trail, Sedona, Arizona"></a>
                <figcaption>Broken Arrow</figcaption>
            </figure>

            <figure>
                <a href="11.7.thunder-mountain.jpg"><img src="11.7.photo2thumb.jpg" width=100 height=100 alt="Thunder Mountain, Sedona, Arizona"></a>
                <figcaption>Thunder Mountain</figcaption>
            </figure>
            
            <figure>
                <a href="11.7.bear-mountain.jpg"><img src="11.7.photo3thumb.jpg" width=100 height=100 alt="Bear Mountain, Sedona, Arizona"></a>
                <figcaption>Bear Mountain</figcaption>
            </figure>
            
            <figure>
                <a href="11.7.aerie-trail.jpg"><img src="11.7.photo4thumb.jpg" width=100 height=100 alt="Aerie Trail, Sedona, Arizona"></a>
                <figcaption>Aerie Trail</figcaption>
            </figure>
            
            <figure>
                <a href="11.7.cathedral-rock.jpg"><img src="11.7.photo5thumb.jpg" width=100 height=100 alt="Cathedral Rock, Sedona, Arizona"></a>
                <figcaption>Cathedral Rock</figcaption>
            </figure>
            
            <figure>
                <a href="11.7.oak-creek.jpg"><img src="11.7.photo6thumb.jpg" width=100 height=100 alt="Oak Creek, Sedona, Arizona"></a>
                <figcaption>Oak Creek</figcaption>
            </figure>

        </div>
    </body>
</html>