make buttons similar to logo
This commit is contained in:
parent
1263d1a210
commit
e6e17037af
|
@ -57,9 +57,8 @@ nav ul {
|
|||
nav li {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
border: 2px solid lightgray;
|
||||
border-radius: 22px;
|
||||
background-color: #646464;
|
||||
border: 5px solid white;
|
||||
border-radius: 25px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
|
@ -67,15 +66,16 @@ nav li a:before {
|
|||
background: #b6ff00;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 0;
|
||||
height: 35px;
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease-out;
|
||||
transform-origin: 0 50%;
|
||||
border-radius: 21px;
|
||||
border-radius: 20px;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
|
@ -85,7 +85,7 @@ nav li a:hover, nav li a:focus, nav li a:active {
|
|||
}
|
||||
|
||||
nav li a:hover:before, nav li a:focus:before, nav li a:active:before {
|
||||
width: 100%;
|
||||
width: 113px;
|
||||
opacity: 1;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue