점선으로 세로 자동으로 조절 채택완료
탐크루지
10개월 전
조회 2,603
아래의 페이지처럼 일정표 부분에서
좌측에 점선으로 쭈욱 연결되는 표현을 어떻게 할 수 있을까요?
핀 이미지가 보이고 아래로는 점선으로 일정들이 쭈욱 나오는데요..
도와주시면 감사하겠습니다.
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
채택된 답변
+20 포인트
10개월 전
</p>
<p><style>
#detail-wrap {
position: relative;
height: 20em;
background-color: #ddd;
}</p>
<p>#detail-wrap .courseWrap {
padding: 2em;
}</p>
<p>#detail-wrap .courseWrap .course:before {
display: block;
content: '';
width: 24px;
height: 24px;
position: absolute;
top: 0;
left: 0;
background-image: radial-gradient(transparent 25%, black 25%);
border-radius: 50% 50% 0 50%;
transform: rotate(45deg) scale(0.8);
}
#detail-wrap .courseWrap .course:after {
display: block;
content: '';
height: calc(100% - 36px);
position: absolute;
bottom: 5px;
left: 11px;
border: 1px dashed #31374f;
}
</style></p>
<p><div id="detail-wrap">
<div class="courseWrap">
<div class="course region">
<h4>h4</h4>
<div class="con">con</div>
</div>
<div class="course region">
<h4>h4</h4>
<div class="con">con</div>
</div>
</div>
</div></p>
<p>
로그인 후 평가할 수 있습니다
답변에 대한 댓글 2개
�
탐크루지
10개월 전
아고 감사드립니다. 너무 좋습니다.
s
sinbi
10개월 전
결과보기 https://codepen.io/sinbi/pen/KwPmvjj
다른버전 https://codepen.io/sinbi/pen/bNbWrJQ
다른버전 https://codepen.io/sinbi/pen/bNbWrJQ
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인