답변 1개 / 댓글 2개
채택된 답변
+20 포인트
2021-02-09 (화) 15:42:18
Copy
<style>
#test-div-wrap{
display: -ms-flexbox!important;
display: flex!important;
-ms-flex-pack: justify!important;
justify-content: space-between!important;
}
#test-div-wrap img{
max-width: 100%;
}
.test-div{
margin-right: 10px;
}
.test-div:last-child{
margin-right: 0;
}
.test-div-bot{
padding:10px
}
</style>
<h1 style="text-align: center;margin-bottom: 50px">주요업무</h1>
<div id="test-div-wrap">
<div class="test-div">
<img src="https://cdn.pixabay.com/photo/2020/07/06/09/37/green-5376289__340.jpg" alt="">
<div class="test-div-bot">
<h1>테스트</h1>
<p>테스트테스트테스트테스트테스트테스트테스트테스트테스트테스트</p>
</div>
</div>
<div class="test-div">
<img src="https://cdn.pixabay.com/photo/2020/07/06/09/37/green-5376289__340.jpg" alt="">
<div class="test-div-bot">
<h1>테스트</h1>
<p>테스트</p>
</div>
</div>
<div class="test-div">
<img src="https://cdn.pixabay.com/photo/2020/07/06/09/37/green-5376289__340.jpg" alt="">
<div class="test-div-bot">
<h1>테스트</h1>
<p>테스트</p>
</div>
</div>
<div class="test-div">
<img src="https://cdn.pixabay.com/photo/2020/07/06/09/37/green-5376289__340.jpg" alt="">
<div class="test-div-bot">
<h1>테스트</h1>
<p>테스트</p>
</div>
</div>
</div>
답변에 대한 댓글 2개
카트시그널
2021-02-09 (화) 15:48:33
2021-02-09 (화) 16:03:42
답변을 작성하려면 로그인이 필요합니다.

display: -ms-flexbox!important;
display: flex!important;
-ms-flex-pack: justify!important;
justify-content: space-between!important;
}
이것은 무엇인가요?