article thumbnail image
Published 2024. 4. 15. 10:47

 

1. 이미지 

.image {
    background-image: url();
    background-position: center;
    background-size: cover;
}

 

 

 

2. 정렬

    .box {
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
    }

 

 

3. 박스

  width: 100px;
  height: 100px;
  border: 1px solid red;
  margin: 20px auto 20px auto;

 

 

 

복사했습니다!