-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcssdemo.css
More file actions
41 lines (35 loc) · 804 Bytes
/
cssdemo.css
File metadata and controls
41 lines (35 loc) · 804 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
body{
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
margin: 0;
padding: 0;
background-color: lightgrey;
color: rgb(24, 13, 44);
}
header{
background: linear-gradient(to right, rgb(179,118,100),rgb(38,40,111));
color: white;
text-align: center;
padding: 20px;
}
.features{
display: flex;
padding: 20px;
background-color: rgb(141,116,108);
}
.animatedBox{
width: 100px;
height: 100px;
background-color: rgb(179,118,100);
border-radius: 50%;
margin: 0 auto;
animation: bounce 2s infinite;
}
section{
width: 33%;
}
@media (max-width: 768px){
.features{
flex-direction: column;
align-items: center;
}
}