I'm currently working on a website project and facing an issue with aligning the text 'Axxon' to the left of the div-header-gradient class, and the a href positioned to the right of the header. However, my code doesn't seem to be working as expected. Here is the code snippet:
.div-header-gradient {
display: block;
background: linear-gradient(#7700ff, #953bff);
height: 100px;
width: 100%;
margin-left: 0px;
overflow: hidden;
animation: animheader;
animation-duration: 1.5s;
}
.div-header-right {
height: 100px;
width: 100%;
display: flex;
overflow: hidden;
position: relative;
animation: animheader;
animation-duration: 1.5s;
}
.href-right-header-buttons {
position: fixed;
color: #fff;
font-size: 26px;
letter-spacing: 2px;
padding-top: 34px;
padding-bottom: 34px;
padding-left: 12px;
padding-right: 12px;
overflow: hidden;
font-family: 'Roboto', sans-serif;
text-decoration: none;
margin-right: 0px;
}
<div class="div-header-gradient" style="z-index: 1000;">
<p class="text-header-title-white" style="z-index: 1000;">
Axxon
</p>
<div class="div-header-right">
<a href="#" class="href-right-header-buttons">
Invite Bot
</a>
</div>
</div>