-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtml.css
More file actions
65 lines (63 loc) · 942 Bytes
/
html.css
File metadata and controls
65 lines (63 loc) · 942 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
55
56
57
58
59
60
61
62
63
64
65
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
header{
background-color:pink;
}
nav ul {
float: right;
list-style: none;
margin-top: 30px;
}
nav ul li{
display: inline-block;
}
nav ul li a{
font-family: Arial;
padding: 5px 30px;
text-decoration: none;
color: rgb(78,29,55);
position: relative;
}
a:after{
content: "";
position: absolute;
background-color: red;
height: 3px;
width: 0;
left: 0;
bottom: -10px;
padding: 0 10px;
transition: 0.3s;
}
a:hover:after{
width: 100%;
}
a:hover{
color: #ffffff;
}
.box1{
text-align: center;
padding: 10%;
color: #9f956c;
font-size: 40px;
}
img{
border:1px solid pink;
}
span{
background-color: orangered;
}
.text{
text-align: center
}
footer{
background-color: #f4e87c;
text-align: center;
justify-content: space-between;
}
.last{
text-align: center;
}