디자인킷 · 반폭
반폭 · 매체 × 요건 교차표(체크)
D-반폭-매체요건교차표
언제 쓰는가
매체마다 필요한 인증, 심의, 고지 요건이 다를 때 매체(행)와 요건(열)의 교차를 체크로 절반 칸에. 행 3~5개, 열 3~4개. 매체 이름 6자 이내, 요건 이름 5자 이내. 칸에는 체크, 빈 점, 4자 이내 짧은 값 중 하나. 주력 매체 1행 강조. 행이나 열이 더 많으면 전폭 D-표-체크매트릭스 사용. 값 바꾸는 법: .th 의 span 이 열 제목(첫 칸은 매체). .r 하나가 한 매체(.k=이름, 뒤 .c 가 요건 칸). 필요하면 .c 안에 체크 svg, 해당 없으면 <i></i>, 조건이 붙으면 "조건부"처럼 4자 이내 글자. 주력 매체 한 행에 class="hot". 열 수를 바꾸면 CSS 의 repeat(4,1fr) 숫자도 함께 변경.
참고
직접 제작. 외부 URL 참조 없음. 요건 점검표(체크 매트릭스)의 행과 열 교차 방식을 절반 칸에 맞춰 줄인 것. 체크는 인라인 SVG 선.
조각
<div class="dk dkh dkh-c-cross"><div class="dk-card"><p class="dk-lb">매체별 집행 전 요건 · 금융 업종</p> <div class="ls"><div class="th"><span>매체</span><span>업종 인증</span><span>사전 심의</span><span>필수 고지</span><span>랜딩 검수</span></div> <div class="r hot"><span class="k">검색 광고 A</span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span></div> <div class="r"><span class="k">검색 광고 B</span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><i></i></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span></div> <div class="r"><span class="k">소셜 피드</span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><i></i></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span></div> <div class="r"><span class="k">메신저 배너</span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span></div> <div class="r"><span class="k">금융 앱 지면</span><span class="c"><i></i></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span><span class="c"><svg viewBox="0 0 16 16" width="16" height="16" aria-label="필요"><path d="M3 8.5l3.2 3.2L13 5"/></svg></span></div> </div> <p class="nt">체크 = 필요, 점 = 해당 없음 · 예시 값, 매체 정책 확인 후 교체</p></div></div>
스타일
.dkh-c-cross .dk-card{display:flex;flex-direction:column;padding:20px 26px 18px}
.dkh-c-cross .dk-lb{flex:none;margin:0 0 10px}
.dkh-c-cross .nt{flex:none;margin:8px 0 0;font-size:var(--f-cap);color:var(--mu);line-height:1.4}
.dkh-c-cross .ls{flex:1;min-height:0;display:flex;flex-direction:column}
.dkh-c-cross .th,.dkh-c-cross .r{display:grid;grid-template-columns:86px repeat(4,1fr);column-gap:6px;align-items:center}
.dkh-c-cross .th{flex:none;font-size:var(--f-cap);color:var(--mu);padding:0 0 7px;border-bottom:1px solid var(--line2);line-height:1.4}
.dkh-c-cross .r{flex:1;padding:4px 0;border-top:1px solid var(--line);font-size:var(--f-sm);line-height:1.4;color:var(--ink2)}
.dkh-c-cross .th + .r{border-top:0}
.dkh-c-cross .r .k{font-weight:600;color:var(--ink);white-space:nowrap}
.dkh-c-cross .r.hot .k{color:var(--ac)}
.dkh-c-cross .th span + span,.dkh-c-cross .c{text-align:center}
.dkh-c-cross .th span{white-space:nowrap}
.dkh-c-cross .c{display:flex;justify-content:center;align-items:center;font-size:var(--f-cap)}
.dkh-c-cross .c svg{display:block}
.dkh-c-cross .c path{fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dkh-c-cross .c i{display:block;width:6px;height:6px;border-radius:50%;background:var(--g1)}