Hello,
I’ve run the tests in Firefox, Chrome and Edge but my product landing page always fails the “Navigation bar should always be at the top of the page” test. It is always fixed at the top of the page, so I don’t get why it’s failing this test.
CSS:
#nav-bar {
background-color: var(--black);
color: var(--white);
box-shadow: 0px 5px 10px var(--grey);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 40px;
z-index: 2;
display: flex;
flex-flow: row no-wrap;
align-items: center;
justify-content: flex-end;
}
Here is the link to my codepen: https://codepen.io/veritygriscti/pen/QWKrGvR?editors=1100
Has anyone else run into this?