Viewport height unit not working help!

Please can someone help i don’t why vh is not working.

css code

#introduktion {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;

    width: 100vw;
    height: 100vh;
}

html code

 <header id="#introduktion">
      <p>asdasd</p>
 </header>
1 Like

When you give id names in html. You don’t need hashtag (#) infront.

Remove the hashtag in your html.

1 Like

It’s not the first time i do this mistake, but thanks anyway

1 Like