DEV Community

Discussion on: What's in your recent search history related to CSS?

Collapse
 
fhsinchy profile image
Farhan Hasin Chowdhury

Centering stuff ๐Ÿ˜…

Collapse
 
5t3ph profile image
Stephanie Eckles

I'm about to make a pinned post on this, lol!

You might be joking, but for the lurkers:

display: grid;
place-content: center;

More options and details >

Collapse
 
fhsinchy profile image
Farhan Hasin Chowdhury

Now that's nice and I actually did search for all the possible ways of centering stuff, I wasn't joking ๐Ÿ˜…

Thread Thread
 
5t3ph profile image
Stephanie Eckles

Haha, well then Iโ€™m glad that was indeed helpful! ๐Ÿ’ซ