본문 바로가기
IT

[웹접근성] Html Guide: Visual Image

by SOGNOD 2021. 5. 2.
반응형

<div class="sub_visual img1">
	<div>
		<h2>이미지 타이틀</h2>
	</div>
</div>
.sub_visual {height: 130px; margin-top:100px; min-width: 1180px;}
.sub_visual div {width: 1180px; margin: 0 auto;}

.sub_visual > div {height: 130px; margin: 0 auto; width: 1180px;}
.sub_visual > div h2 {font-size:23px; color:#fff; line-height:1.3em; padding: 35px 0 0 260px;}
.sub_visual > div h2 span {display: block; font-size:19px; font-weight: 200;}
.sub_visual.img1 {background:url(/img/common/bg_sub_visual_1.png) no-repeat top center;}
.sub_visual.img1 div h2 {padding-top: 50px;}
반응형