-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.css
More file actions
51 lines (47 loc) · 987 Bytes
/
Copy pathsample.css
File metadata and controls
51 lines (47 loc) · 987 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
h1{
background-color: chocolate;
color: black;
width: 50%;
font-size: 50px;
}
h1,footer{
background: chocolate;
background: -webkit-linear-gradient(chocolate,rgb(112, 112, 211));
background: -moz-linear-gradient(chocolate,rgb(112, 112, 211));
background: -ms-linear-gradient(chocolate,rgb(112, 112, 211));
background: -olinear-gradient(chocolate,rgb(112, 112, 211));
}
footer{
width: 50%;
font-size: 30px;
}
.half{
display:block;
background-color: darkgoldenrod;
width:40%;
}
h2{
background-color: brown;
}
ul{
list-style-type: square;
}
div{
background-color: darkseagreen;
width: 40%;
border-radius: 5px;
font-size: 15px;
}
div:hover {
background-color: darksalmon;
width: 45%;
border-radius: 30px;
font-size: 20px;
transition-duration: .5s;
transition-timing-function: linear;
transition-delay: .2s;
}
div:active{
background-color: darkslateblue;
width: 45%;
}