Navigáció
Neon pontmenü
Élő előnézet – a komponens teljes méretben.
Élő előnézet
HTML · CSS · JS
<nav class="menu-dots">
<a href="#" class="active">
<span class="dot"></span>
Kezdőlap
</a>
<a href="#">
<span class="dot"></span>
Rólunk
</a>
<a href="#">
<span class="dot"></span>
Szolgáltatások
</a>
<a href="#">
<span class="dot"></span>
Portfólió
</a>
<a href="#">
<span class="dot"></span>
Kapcsolat
</a>
</nav>
.menu-dots {
display: flex;
align-items: center;
justify-content: center;
gap: 32px;
padding: 16px 22px;
background: #080b11;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
}
.menu-dots a {
display: inline-flex;
align-items: center;
gap: 9px;
color: #8995a7;
text-decoration: none;
font-size: 13px;
font-weight: 500;
letter-spacing: 0.06em;
transition: color 0.3s ease;
}
.menu-dots .dot {
width: 5px;
height: 5px;
flex-shrink: 0;
border-radius: 50%;
background: #4b5563;
transition:
background 0.3s ease,
box-shadow 0.3s ease,
transform 0.3s ease;
}
.menu-dots a:hover {
color: #ffffff;
}
.menu-dots a:hover .dot {
background: #2ecc71;
box-shadow: 0 0 9px rgba(46, 204, 113, 0.8);
transform: scale(1.4);
}
.menu-dots a.active {
color: #ffffff;
}
.menu-dots a.active .dot {
background: #2ecc71;
box-shadow:
0 0 6px rgba(46, 204, 113, 0.8),
0 0 14px rgba(46, 204, 113, 0.35);
}
@media (max-width: 700px) {
.menu-dots {
gap: 18px;
flex-wrap: wrap;
}
}
Ehhez az elemhez nincs külön JavaScript.