Finally Solved CSS Centering
hey everyone I finally solved centering things in CSS .center { text-align: center; align-items: center; align-self: center; align-content: center; justify-items: center; justify-self: center; justify-content: center; place-items: center; vertical-align: middle; line-height: 100%; margin: auto; position: absolute; left: 50%; right: 50%; transform: translate(-50%, -50%); }
A humorous screenshot shows a CSS code block that uses nearly every possible centering property at once. The joke is that centering elements in CSS is famously frustrating, so the exaggerated solution is to apply all the centering techniques simultaneously. It is commonly shared by web developers as a relatable programming reaction meme. EN: A humorous screenshot shows a CSS code block that uses nearly every possible centering property at once. The joke is that centering elements in CSS is famously frustrating, so the exaggerated solution is to apply all the centering techniques simultaneously. It is commonly shared by web developers as a relatable programming reaction meme.
- @dev_meme / 1256 2020-04-04
- Type
- image
- Size
- 501×800 · 68.3 KiB
- Mood
- sarcastic, relatable
- Language
- en
- Added