@JF451
Posted
I really liked your layout. I think it matches the prompt well.
Marked as helpful
@JF451
Posted
I really liked your layout. I think it matches the prompt well.
Marked as helpful
@bccpadge
Posted
Hello @ameera-abed. Congratulations on completing this challenge!!!π
In your CSS file you can add this code to remove the default styles like margin and padding from the browser.
*{
margin: 0;
padding;
}
You can also implement the shorthand property for margin and padding in your CSS file. Shorthand properties
When I write CSS, I use logical properties for margin and padding which depends on the writing mode.
If I want to margin
on the top and bottom, the logical property would be margin-block
and left and right is margin-inline
and right would be margin-inline-end
and left would be margin-inline-start
More infoπ:
I hope you find this useful and don't hesitate to reach out if you have any questions.
@ameera-abed
Posted
@bccpadge thanks for advise I fix the design but frontend mentor not allow me to take anther screenshot to page so please see the design in link
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord