.topbar {
background-color: white;
position: fixed;
margin: -10%;
z-index: 10;
height: 10%;
width: 110%;
}
I have created this code for a div element, intending it to serve as a navigation bar on my website. My goal is to include an orange line at the top similar to StackOverflow's design. Being a beginner, I am unsure how to achieve this. Any help or guidance would be greatly appreciated. Thank you in advance!