-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpractice.css
More file actions
65 lines (57 loc) · 1.08 KB
/
Copy pathpractice.css
File metadata and controls
65 lines (57 loc) · 1.08 KB
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
html { /*sets the properties to a default value*/
font-size: 10px:
font-family: "Open Sans", sans serif;
background-color: #00539F;
}
h1 {
font-size: 60px;
text-align: center;
color: DarkSlateGrey
margin: 0;
padding: 20px 0;
color: #00539F;
text-shadow: 3px 3px 1px black;
transform-origin: center;
}
p, li {
font-size: 16px;
line-height: 2;
letter-spacing: 1px;
}
body {
width: 600px;
margin: 0 auto;
background-color: #FF9500;
padding: 0 20px 20px 20px;
border: 5px solid black;
}
img {
display: black;
margin: 0 auto;
border: solid;
border-color: yellow;
border-radius: 5px;
}
p {
background-color: lightgoldenrodyellow;
border-color: charcol;
border-width: 3px;
border-style: double;
border-radius: 5px;
margin: 50px;
padding: 50px;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.rotate:hover {
animation-name: rotate;
animation-duration: 0.6s;
animation-timing-function: linear;
animation-iteration-count: 5;
}