Quick Question: Can I use Justify-content and Align-content in the same ruleset?

Hi,
I just needed to know the theory on this… Can I use Justify-content and Align-content in the same ruleset?

And if you have time can you please answer these follow-up questions?

If I can, is it good practice?
Is it even practical? Any examples or resources?

Thank you so much, I appreciate all the help.

never mind, I just found this: Aligning items in a flex container - CSS: Cascading Style Sheets | MDN

any tips on how you remember the difference will help! Thanks!

I can never remember and I usually just look up the rulesets to check which one I want to use. But if it helps, this article has a memory tip you might like to use.

1 Like