A Pen by DCBN

Thumbnail
This awesome code was written by CoolByNight, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright CoolByNight ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  DCBN</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div id="footer">
    <div>hej</div>
    <div>på</div>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/CoolByNight/a-pen-by-dcbn-erOKzG */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
}

#footer {
    padding: 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
}

Comments