FooterTutorials

HTML footer example

HTML footer example

Before We Start

Every developer needs clean and modern elements to develop their websites, It contains pictures and a user interface element within a website. The most important one and the first section that the user sees when the user enters a website. HTML footer example

So if you are a person who wishes to develop a website, you have to know how to create that properly.

We are here to solve your problem. In this article we discuss how to create these elements. Before we start please read the below articles which easier you to understand the process, if you are new to development.

Step 1 – Add HTML

It’s too easy and simple. Just copy and paste below code in your HTML editor between <body> </body> tag.

  <div class="container">
    <div class="content">
      <div class="row">
        <div class="col-lg-3">
          <div class="link-box">
            <div class="link-box__title">Gallery</div>
            <div class="link-box__link">Community</div>
            <div class="link-box__link">Trending</div>
            <div class="link-box__link">picks</div>
          </div>
        </div>
        <div class="col-lg-3">
          <div class="link-box">
            <div class="link-box__title">Marketplace</div>
            <div class="link-box__link">trending</div>
            <div class="link-box__link">best selling</div>
            <div class="link-box__link">latest</div>
          </div>
        </div>
        <div class="col-lg-2">
          <div class="link-box">
            <div class="link-box__title">Magazine</div>
            <div class="link-box__link">art skills</div>
            <div class="link-box__link">carreer</div>
            <div class="link-box__link">inspiration</div>
            <div class="link-box__link">news</div>
          </div>
        </div>
        <div class="col-lg-4">
          <div class="link-box">
            <div class="link-box__title">Newsletter</div>
            <div class="link-box__subscribe-description">
              Subscribe to our newsletter to get your weekly dose of news,
              updates, tips and special offers.
            </div>
            <div class="input-box">
              <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="51" height="43.667" viewBox="0 0 51 43.667">
                <defs>
                  <linearGradient id="linear-gradient" x2="0.959" y2="1" gradientUnits="objectBoundingBox">
                    <stop offset="0" stop-color="#8bcdff" />
                    <stop offset="1" stop-color="#6487ff" />
                    <stop offset="1" stop-color="#6888f3" />
                  </linearGradient>
                  <filter id="Rectangle" x="0" y="0" width="51" height="43.667" filterUnits="userSpaceOnUse">
                    <feOffset dy="2" input="SourceAlpha" />
                    <feGaussianBlur stdDeviation="3" result="blur" />
                    <feFlood flood-color="#003ca4" flood-opacity="0.596" />
                    <feComposite operator="in" in2="blur" />
                    <feComposite in="SourceGraphic" />
                  </filter>
                </defs>
                <g id="Group" transform="translate(8.5 6.833)">
                  <g transform="matrix(1, 0, 0, 1, -8.5, -6.83)" filter="url(#Rectangle)">
                    <rect id="Rectangle-2" data-name="Rectangle" width="33" height="25.667" rx="3.667" transform="translate(9 7)" fill="url(#linear-gradient)" />
                  </g>
                  <path id="Path" d="M0,0,14.5,12,29,0" transform="translate(2.5 3.833)" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2.75" />
                </g>
              </svg>

              <input type="text" placeholder="Enter your email address" />
            </div>
            <button class="subscribe-button">Subscribe</button>
          </div>
        </div>
      </div>
      <div class="seprator"></div>
      <div class="row justify-content-between">
        <div class="col-auto mb-4 mb-lg-0">
          <div class="privacy-box">Privacy Policy . Terms and conditions</div>
        </div>
        <div class="col-auto">
          <div class="social-media-box">Dribbble . Behance . Instagram</div>
        </div>
      </div>
    </div>
  </div>

Step 2 – Add CSS

We use some external CSS link to this code. No need to worry about this, copy and paste below code between <style></style> tag.

<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap-grid.min.css">
</head>

Copy and paste below code in your HTML editor between <style></style> tag.

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

html {
  overflow: hidden;
}

body {
  font-size: 18px;
  font-family: "Quicksand", sans-serif;
  padding: 30px 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  width: 100vw;
  overflow: hidden;
}

:root {
  --black: #000;
  --white: #fff;
  --link-color: #FFF;
  --seprator-color: #eceef5;
  --link-hover-color: #688dff;
  --input-border-color: #e9ebf3;
}

.content {
  box-shadow: 0 100px 107px #05134125;
  padding: 50px;
  border-radius: 4px;
  background-color: #FA8BFF;
  background-image: linear-gradient(45deg, #FA8BFF 0%, #2BD2FF 52%, #2BFF88 90%);
}

.link-box {
  text-transform: capitalize;
}
.link-box__title {
  font-weight: 700;
  font-size: 20px;
  color: var(--link-color);
  margin-bottom: 10px;
}
.link-box__link {
  font-size: 16px;
  color: var(--link-color);
  margin-bottom: 10px;
  cursor: pointer;
  transition: 300ms all ease-in-out;
}
.link-box__link:hover {
  color: var(--link-hover-color);
}
.link-box__subscribe-description {
  font-size: 16px;
  line-height: 31px;
}

.privacy-box,
.social-media-box {
  color: #84849d;
  font-size: 14px;
}

.seprator {
  background: var(--seprator-color);
  height: 1px;
  margin: 50px 0 30px 0;
}

.input-box {
  border: 1px solid var(--input-border-color);
  padding: 4px 10px;
  margin-top: 20px;
  width: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
}
.input-box svg {
  margin-top: 3px;
}
.input-box input {
  all: unset;
  width: 100%;
  font-size: 16px;
  margin-left: 5px;
}
.input-box input::placeholder {
  font-size: 16px;
}

.subscribe-button {
  margin-top: 20px;
  color: white;
  width: 100%;
  text-align: center;
  background: linear-gradient(to right, #8bcdff, #6487ff);
  padding: 15px;
  border-radius: 5px;
  outline: none;
  border: none;
  font-family: inherit;
}

@media (max-width: 768px) {
  .content {
    padding: 20px;
  }
}

</style>

At the end we will have something like this. You can change fonts, colors, backgrounds and all things that you want. Enjoy it.

Your Output

HTML footer example

Video Tutorial

Please watch this video to better understand this tutorial and don’t forget to subscribe to our channel.


Help others to find out about this article on Social Media sites. If you have any doubt or any problem, don’t hesitate to contact us. Thereafter we will be able to help you and also make sure you bookmark our site on your browser.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button