hey, can anyone help me center the image? Please
Hi!
Remove the * before the { in your CSS code:
*{
margin-top: 0px;
padding: 0px;
font-family: var(–font-family);
list-style-type: none;
text-decoration:none;
box-sizing: border-box;
}
Your code should be:
{
margin-top: 0px;
padding: 0px;
font-family: var(–font-family);
list-style-type: none;
text-decoration:none;
box-sizing: border-box;
}
Without * at the beginning.
You could give the figure
element a width and use the margin auto trick. Or use flexbox.
figure{
border: 1px solid yellow;
width: 100%;
margin: auto;
}
You might run into issues with the image.
You could try to make the page responsive though.
hello mam
i want to ask you a few questions regarding coding so, can you give me your email.
reply soon please
We don’t encourage users to reveal personal information on the forum. If you want to contact them, you can always send a direct message by clicking on their icon and going to their forum user page.