How to add this "bar" above the menu? HTML+CSS

Asked

Viewed 93 times

-2

How to add a bar like the one Stackoverflow has at the top above the menu? I know it seems to be a very ignorant question on my part but I find a lot of difficulty in HTML and CSS!

1]

1 answer

2


Is only one border-top:

html, body { margin: 0 }

header {
  border-top: 3px solid #F48024;
  box-shadow: 0 0 10px 2px #ccc;
  height: 40px
}
<header></header>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.