sugarangel :3

sugarangel.neocities.org

2,124,901 views
784 followers
11,720 updates
0 tips
okay,,, this sounds like a really stupid question, but how do you actually get your div perfectly in the center of the page regardless of its width and height?
ginder's avatar ginder 3 years ago

idk exactly what you mean but I make a div "base" with margin auto and inside I put the main box and it stay in the center of the page, you can use too

1 like
layercake's avatar layercake 3 years ago

if you mean center center like on carrd im.. not the best at explaining but i usually put it in a wrapper ill drop the code for it here -> https://snippet.host/dkrirv

1 like
sugarangel's avatar sugarangel 3 years ago

@layercake aah for some reason chrome wont let me view ur link,,,

sugarangel's avatar sugarangel 3 years ago

nvm!! figured this out, ty everyone for helping!

Website Stats

Last updated 1 year ago
CreatedMar 30, 2022

Tags

sanrio pixels anime pink personal