Tips for Coding Your Website (CSS) - Continued
Here are two tips for coding in CSS based on my 10+ years of experience: -For vertical alignment, on-screen sections generally (not always) should have their div height attribute equal to their parent div which in turn will have the desired offset height, and a child element to support the true height of the element displayed. What this means is no matter the actual size of the child element, it will always be aligned vertically when making proper use of flex display, align-items, etc. -When facing position issues, make sure the elements matche the position values you're expecting in the inspector. Use these tips to avoid redundancies.