8,000円
パーツ設置費用
費用メモ
1点あたり 1,000円
CSS
.item__list__thumbnail__type3 .flexBox {
margin: 0 -15px;
}
.item__list__thumbnail__type3 .box {
background-color: #f2f2f2;
box-sizing: border-box;
display: block;
margin: 0 15px 40px;
padding: 15px;
width: -webkit-calc(100% / 4 - 30px);
width: calc(100% / 4 - 30px);
}
.item__list__thumbnail__type3 .box:nth-last-child(1),
.item__list__thumbnail__type3 .box:nth-last-child(2),
.item__list__thumbnail__type3 .box:nth-last-child(3),
.item__list__thumbnail__type3 .box:nth-last-child(4) {
margin-bottom: 0;
}
.item__list__thumbnail__type3 .box figure {
margin-bottom: 10px;
padding-top: 100%;
position: relative;
width: 100%;
}
.item__list__thumbnail__type3 .box figure img {
object-fit: cover;
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
.item__list__thumbnail__type3 .box p {
font-size: 14px;
line-height: 1.8;
}
@media screen and (max-width: 800px) {
.item__list__thumbnail__type3 .flexBox {
margin: 0 -2vw;
}
.item__list__thumbnail__type3 .box {
margin: 0 2vw 6vw;
padding: 2vw;
width: -webkit-calc(100% / 2 - 4vw);
width: calc(100% / 2 - 4vw);
}
.item__list__thumbnail__type3 .box:nth-last-child(3),
.item__list__thumbnail__type3 .box:nth-last-child(4) {
margin: 0 2vw 6vw;
}
.item__list__thumbnail__type3 .box figure {
margin-bottom: 1.5vw;
}
.item__list__thumbnail__type3 .box p {
font-size: 1.8vw;
}
}
@media screen and (max-width: 540px) {
.item__list__thumbnail__type3 .flexBox {
margin: 0;
}
.item__list__thumbnail__type3 .box {
margin: 0 0 8vw;
padding: 5vw;
width: 100%;
}
.item__list__thumbnail__type3 .box:nth-last-child(2) {
margin: 0 0 8vw;
}
.item__list__thumbnail__type3 .box figure {
margin-bottom: 3vw;
}
.item__list__thumbnail__type3 .box p {
font-size: 3.6vw;
}
}
HTML
<section class="item__list__thumbnail__type3">
<div class="flexBox">
<a class="box">
<figure>
<img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image6.jpg">
</figure>
<p>てきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
</a>
<a class="box">
<figure>
<img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image6.jpg">
</figure>
<p>てきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
</a>
<a class="box">
<figure>
<img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image6.jpg">
</figure>
<p>てきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
</a>
<a class="box">
<figure>
<img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image6.jpg">
</figure>
<p>てきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
</a>
<a class="box">
<figure>
<img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image6.jpg">
</figure>
<p>てきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
</a>
<a class="box">
<figure>
<img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image6.jpg">
</figure>
<p>てきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
</a>
<a class="box">
<figure>
<img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image6.jpg">
</figure>
<p>てきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
</a>
<a class="box">
<figure>
<img src="/wp/wp-content/uploads/2021/03/thumb-dammy-image6.jpg">
</figure>
<p>てきすとてきすとてきすとてきすとてきすとてきすとてきすと</p>
</a>
</div>
</section>