@NaveenGumaste
Posted
Hello Vedat Sözen ! Congo 👏 on completing this challenge
Let's look at some of your issues, shall we:
-
To center the card vertically
min-height: 100vh;
display: flex;
justify-content: center
align-item: center;
or use this 👇
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%)
}
- Always use the "alt attribute" and write what img is , and if the img is for decorative then leave it empty but always add it with alt. happy Coding😀
Marked as helpful
@vedatsozen
Posted
@Crazimonk Thanks. I will use another time if i need to center a div vertically and horizontally.