79666333

Date: 2025-06-15 05:59:02
Score: 1
Natty:
Report link

Vertically centered and horizontally centered

.parent div {
  display: flex;
  height: 300px;
  width: 100px;
  background-color: gainsboro;
  align-items: center;
  justify-content: center:
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sumit Paul