텍스트 감싸고 있는 컨테이너에 높이 준다.
컨테이너 display속성을 flex
로 지정 후 아이템 정렬 속성 준다
justify-content
: 가로
align-items
: 세로
.projects-card-container {
/* 하단 텍스트 박스 */
display: flex;
justify-content: center;
align-items: center;
height: 30%;
}
.projects-card-text {
/* 하단 텍스트 속성 */
text-align: center;
color: white;
margin: 0;
}