添加html时的线性渐变条带

时间:2018-05-11 19:34:18

标签: html css linear-gradients

我使用线性渐变,在html块中添加项目之前看起来很好。

Image before html

Image after html

这是html:

    <!DOCTYPE html>
    <html>
    <head>
      <meta charset="UTF-8">
      <link rel="stylesheet" type="text/css" href="css/style.css">
      <meta name="viewport" content="width=device-width">
      <title>Ajjawi Media</title>
    </head>
    <body class="blur">
      <header>
        <div class="wrapper">
          <nav>
            <h2>Main Navigation</h2>
            <div id="burger-nav"></div>
            <ul>
              <li><a href="url" class="current">Hjem</a></li>
              <li><a href="url">Projekter</a></li>
              <li class="logo"><h1>Ajjawi Media</h1></li>
              <li><a href="url">Om os</a></li>
              <li><a href="url">Kontakt</a></li>
            </ul>
          </nav>
        </div>
      </header>
    </body>
    </html>

这是css:

0 个答案:

没有答案