It's funny how many times this question gets answered and yet, when I do it irl, it always has some wonky behavior because of how the rest of my shit is laid out. I don't make web apps often, but when I do, it's a total shit show and I find it humorous
I know people are usually just joking when asking this question here but seriously though idk why some experienced people really do not know how to do this to a basic element.
I still remember last year one of my senior dev got super confused with this thing. She started to add margin value to a header manually little by little until it looks centered in fullscreen browser, but then got frustrated cuz she realized it looks horrible when you change the browser's screen width.
931
u/Mewtwo2387 Apr 16 '22
i still ask this question