Skip to content

Commit 00797f6

Browse files
committed
header
1 parent 1dce37b commit 00797f6

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

public/css/index.css

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,34 @@ h1,h2,h3,h4,h5,h6 {
9898
}
9999
.header-item-box {
100100
padding:20px 0;
101+
101102
}
102103
.header-item-box a {
103-
margin:0 20px 0 0;
104+
margin:0 40px 0 0;
104105
font-size:22px;
106+
display: inline-block;
107+
position: relative;
108+
}
109+
.header-item-box a:before,
110+
.header-item-box a:after{
111+
content: "";
112+
width: 0;
113+
height: 3px;
114+
background: blue;
115+
position: absolute;
116+
top: 100%;
117+
left: 50%;
118+
transition: all .5s ;
119+
}
120+
.header-item-box a:hover:before {
121+
background: #2badad;
122+
left: 0%;
123+
width: 50%;
124+
}
125+
.header-item-box a:hover:after {
126+
background: #2badad;
127+
left: 50%;
128+
width: 50%;
105129
}
106130

107131
.header-user-info {

0 commit comments

Comments
 (0)