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.
1
0 comments
Michael Sinclair
1
Tips for Coding Your Website (CSS) - Continued
The Website Club
skool.com/nanotech-pro-9454
This is the group focuses on website owners in the Lower Mainland and Fraser Valley, Canada. This page holds the secret to desaturating the market!
powered by