-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlab5class2.html
90 lines (64 loc) · 1.96 KB
/
lab5class2.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Prof. Frank Emanuel">
<meta name="email" content="[email protected]">
<meta name="date" content="2022-06-08">
<style>
/* CSS for this example */
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular',
'Lucida Grande', 'Lucida Sans Unicode',
Geneva, Verdana, sans-serif;
font-size: 16pt;
}
#catimage {
height: 150px;
/* position: relative;
bottom: 10px;
left: 10px; */
float: right;
}
.borderline {
border: solid green 3pt;
padding: 10px;
}
.backgroundgreen {
background-color: rgb(19, 228, 120);
}
.clearfix::after {
content: "";
clear: both;
display: table;
}
.flexitybox {
display: flex;
flex-direction: row;
justify-content: space-around;
}
</style>
<title>Flexible Fun</title>
</head>
<body>
<header>Flexible Fun</header>
<p>
This is a great little paragraph. I hope you read all the words.
Well really it does not matter. I am just putting something on
the page.
</p>
<p class="borderline backgroundgreen clearfix">
<img id="catimage" src="images/cat_with_tie.jpg" alt="Mr. Flash Malone">
Flash is a bit of a jerk, don't tell him I said so, he will
attack me. I'm not so worried, because we trim his nails. But
it is annoying to have a cat hanging from you pant leg by his
teeth. Yikes.
</p>
<div class="flexitybox borderline">
<button>One</button>
<button>Two</button>
<button>Three</button>
</div>
</body>
</html>