Free UI/UX design course
Learn how to create exceptional designs by reading my new tutorial.
Start learningFooter
One more short and simple lesson in which we will add a Footer with a form for subscribing to our blog's newsletter.
Step 1 - set a color of the footer
element
We set a color of the footer
element via inline CSS:
Step 2 - add copyright
Let's add a copyright to the footer
. Note, that we apply a background color via hsla
color format. This will work as a mask - that means it will be a bit more darker than the footer
itself, but in the same shade.
Step 3 - add a form
Let's add a .container
with a form inside. Then divide it into 3 columns - one for a text, one for an input and one for a button.
We also add a flex utilities justify-content-center
and align-items-center
to the .row
to center the form elements vertically and horizontally.
About the form itself - we have learned about the form in the previous tutorial, so if you need to refresh your knowledge I recommend you to have a look at this lesson.

About author
Michal Szymanski
Co Founder at MDBootstrap / Listed in Forbes „30 under 30" / Open-source enthusiast / Dancer, nerd & book lover.
Author of hundreds of articles on programming, business, marketing and productivity. In the past, an educator working with troubled youth in orphanages and correctional facilities.