@Muhammad-adam778
Posted
Good job it almost match the design.
- There is many ways for centering, one of them is to use
position
css property withtransform
property. check this code to know how.
/* For vertical centering*/
position: absolute;
top: 50%;
transform: translateY(-50%);
/* For horizontal centering*/
position: absolute;
left: 50%;
transform: translateX(-50%);
/* For both*/
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-
But first you need to reset margin of
<div class="container">
to zero. -
About accessibility:
-
Try to replace
<div class="attribution">
element by<footer>
element. -
I hope this help you.
Marked as helpful