summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8flex1/8.1.index.html
diff options
context:
space:
mode:
Diffstat (limited to 'HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8flex1/8.1.index.html')
-rw-r--r--HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8flex1/8.1.index.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8flex1/8.1.index.html b/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8flex1/8.1.index.html
new file mode 100644
index 0000000..b0bf600
--- /dev/null
+++ b/HTML/Chapter/Ch. 8 hands-on assignments/Ch8_msglm/ch8flex1/8.1.index.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <title>Flexbox Gallery</title>
+ <meta charset="utf-8">
+ <style>
+
+* {
+ box-sizing: border-box;
+}
+
+body {
+ background-color: #FEFEFE;
+}
+
+header {
+ text-align: center;
+}
+
+#gallery {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ justify-content: space-around;
+}
+
+img {
+ margin: 1em;
+ box-shadow: 10px 10px 10px #777;
+}
+
+
+
+ </style>
+ </head>
+ <body>
+ <header>
+ <h1>Flexbox Gallery</h1>
+ </header>
+ <main>
+ <div id="gallery">
+ <img src="8.1.bird1.jpg" width="200" height="150" alt="Red Crested Cardinal">
+ <img src="8.1.bird2.jpg" width="200" height="150" alt="Rose-Breasted Grosbeak">
+ <img src="8.1.bird3.jpg" width="200" height="150" alt="Gyrfalcon">
+ <img src="8.1.bird4.jpg" width="200" height="150" alt="Rock Wren">
+ <img src="8.1.bird5.jpg" width="200" height="150" alt="Coopers Hawk">
+ <img src="8.1.bird6.jpg" width="200" height="150" alt="Immature Bald Eagle">
+ </div>
+
+ </main>
+ </body>
+</html>
+
+