I wanna to put a logo in the left of the navigation. The links are set to justify-content: flex-end;
I tried to make a div element and make it important with !important property.
.navbar {
background-color: #242931;
top: 0%;
text-align: center;
justify-content: flex-end;
display: flex;
}
.left-nav {
justify-content: flex-start !important;
display: flex !important;
}
.navbar a {
color: #b7c2d0;
font-family: cubano;
font-size: 1.15rem;
text-decoration: none;
margin-right: 15px;
margin-left: 15px;
padding: 24px;
}
.navbar a:hover {
-webkit-background-clip: text;
background-image: linear-gradient(to right, #ff6e00, #ff9400, #ffb900, #f8dc00, #e9ff00);
background-clip: text;
color: transparent;
}
<div class="navbar">
<div class="left-nav">
<a href="">example</a>
</div>
<a href="Others HTML pages/Guides.html" target="_blank">Guides</a>
<a href="#" target="_blank">Clips</a>
<a href="#" target="_blank">Leaderborard</a>
<a href="Others HTML pages/Support the server.html" target="_blank">Support the server</a>
<a href="Others HTML pages/Help.html" target="_blank">Help</a>
<a href="Others HTML pages/Rules.html" target="_blank">Rules</a>
</div>