my grid layout keeps messing with my background when i change the margin variables. does anyone know how i can fix this? https://i.postimg.cc/G3GhV82j/image.png
What selector are u using to change the margins?? Im inspecting it rn and the margin variables are under the * selector, which is affecting the bg as well since its a universal selector
Maybe set the body padding and margin to 0??
that didnt seem to change anything. i have no clue why its doing this
its only the top and right side of the image to. its like it shifted left and down slightly
What selector are u using to change the margins?? Im inspecting it rn and the margin variables are under the * selector, which is affecting the bg as well since its a universal selector
Moving the margin variables to section-1 or container should fix it (like: #section-1, .container { margins here })
ive never messed with grid layouts so i stole the code from w3 schools and have just been messing around with it
my code is so jank i have no clue what im doing lol. thanks for helping me tho :D
No prob!! Always here to help o7