ECサイト用パーツ

ルール・連絡事項

・alt のテキストは画像に合わせて変更する

パーツ設置費用

30,000

費用メモ

バナー1点あたり 5,000円

CSS

.banner__col3 .flexBox {
	margin: 0 -25px;
}
.banner__col3 .box {
	margin: 0 25px 60px;
	width: -webkit-calc(100% / 3 - 50px);
	width: calc(100% / 3 - 50px);
}
.banner__col3 .box:last-child,
.banner__col3 .box:nth-last-child(2),
.banner__col3 .box:nth-last-child(3) {
	margin-bottom: 0;
}
@media screen and (max-width: 800px) {
	.banner__col3 .flexBox {
		margin: 0 -1.5vw;
	}
	.banner__col3 .box {
		margin: 0 1.5vw 4vw;
		width: -webkit-calc(100% / 2 - 3vw);
		width: calc(100% / 2 - 3vw);
	}
	.banner__col3 .box:nth-last-child(3) {
		margin: 0 1.5vw 4vw;
	}
}
@media screen and (max-width: 540px) {
	.banner__col3 .flexBox {
		margin: 0 -2vw;
	}
	.banner__col3 .box {
		margin: 0 2vw 4vw;
		width: -webkit-calc(100% / 2 - 4vw);
		width: calc(100% / 2 - 4vw);
	}
	.banner__col3 .box:nth-last-child(3) {
		margin: 0 2vw 4vw;
	}
}

HTML

<sectoin class="banner__place banner__col3">
	<div class="flexBox">
		<a class="box" href=""><img src="/wp/wp-content/uploads/2021/02/banner-dammy-image3.jpg" alt="バナー"></a>
		<a class="box" href=""><img src="/wp/wp-content/uploads/2021/02/banner-dammy-image3.jpg" alt="バナー"></a>
		<a class="box" href=""><img src="/wp/wp-content/uploads/2021/02/banner-dammy-image3.jpg" alt="バナー"></a>
		<a class="box" href=""><img src="/wp/wp-content/uploads/2021/02/banner-dammy-image3.jpg" alt="バナー"></a>
		<a class="box" href=""><img src="/wp/wp-content/uploads/2021/02/banner-dammy-image3.jpg" alt="バナー"></a>
		<a class="box" href=""><img src="/wp/wp-content/uploads/2021/02/banner-dammy-image3.jpg" alt="バナー"></a>
	</div>
</section>