<section class="s-3">
<div class="container">
<header class="header3">
<h1 class="site-title3">
<a href="./">
いのプロ
</a>
</h1>
<div class="nav-wrapper">
<nav class="header-nav">
<ul class="nav-list3">
<li class="nav-item3 to-right">
<a href="https://crestadesign.org/">
About
</a>
</li>
<li class="nav-item3 to-right">
<a href="https://crestadesign.org/">
News
</a>
</li>
<li class="nav-item3 to-right">
<a href="https://crestadesign.org/">
Access
</a>
</li>
</ul>
</nav>
</div>
</header>
</div>
</section>
li {
list-style: none;
}
a {
text-decoration: none;
color: rgb(0, 0, 0);
transition: 0.6s;
transition: 0.6s;
transition: 0.6s;
transition: 0.6s;
transition: 0.6s;
}
.header3{
background-color: rgb(186, 240, 179);
color: rgb(130, 203, 246);
height: 80px;
padding: 0 50px;
border-bottom:1px solid rgb(255, 255, 255);
display: flex;
justify-content: space-between;
align-items: center;
}
.sait-title3 a {
display: block;
font-size: 1.5rem;
color: rgb(51, 51, 51);
padding: 20px 5px;
}
.nav-list3 {
display: flex;
justify-content: space-between;
}
.nav-item3 {
margin-right: 50px;
position: relative;
}
.nav-item3 a {
display: block;
font-size: 1.5rem;
padding: 20px 10px;
}
.nav-item3::after {
background-color: rgb(234, 30, 146);
bottom: 20px;
content: "";
display: block;
height: 3px;
position: absolute;
transition: 0.3s all;
width: 0;
}
.nav-item3:hover:after {
width: 100%;
}
.to-right::after {
left: 0;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.