-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
54 lines (51 loc) · 799 Bytes
/
styles.css
File metadata and controls
54 lines (51 loc) · 799 Bytes
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
body {
background: grey;
font-family: Arial, Helvetica, sans-serif;
}
h1 {
color: black;
text-align: center;
}
.assign {
display: flex;
padding: 10px;
margin: 10px;
background: lightblue;
}
.assign img {
width: 200px;
padding: 10px;
}
.assign {
width: 20%;
box-shadow: 8px 8px black;
display: block; /* instead of flex */
border-radius: 20px; /* set last assignment */
}
body {
display: flex;
flex-wrap: wrap;
}
h1 {
width: 100%;
display: block;
.assign {
background-color: grey;
margin: 10px;
padding: 10px;
border-radius: 20px;
width: 20%;
box-shadow: 8px 8px brown;
display: block; /* instead of flex */
}
.assign img {
width: 200px;
margin: 10px;
border: 2px solid midnightblue;
}
.assign img:hover {
width: 200px;
margin: 10px;
border: 2px dotted red;
}
}