You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That flower is positioning the center with absolute position and a % left. This is going to make it change position if the window changes size! The % left will be equal to a % of the width of the window.
Better to use px here.
Better yet, wrap all of the flower parts in a div container and make that position: relative. Now all absolutely positioned descendants will calculate their position from the edges of this container.
The text was updated successfully, but these errors were encountered:
That flower is positioning the center with absolute position and a % left. This is going to make it change position if the window changes size! The % left will be equal to a % of the width of the window.
Better to use px here.
Better yet, wrap all of the flower parts in a div container and make that
position: relative
. Now all absolutely positioned descendants will calculate their position from the edges of this container.The text was updated successfully, but these errors were encountered: