본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)7.2k · #13415

container-lines

하는 일

이 스킬은 페이지 콘텐츠 영역의 가장자리를 보여 주는 은은한 세로선과 작은 모서리 표시를 더하도록 AI 에이전트를 안내합니다. 측정된 듯한 기술적인 느낌을 원하는 디자이너를 위한 스킬입니다.

사용하는 경우

  • ✓페이지가 느슨해 보여 더 구조적이고 정밀한 모습이 필요할 때.
  • ✓콘텐츠 컨테이너가 시작하고 끝나는 곳을 흐릿한 선으로 보여 주고 싶을 때.
  • ✓섹션에 작은 모서리 사각형으로 조용한 틀을 주고 싶은 경우.

스킬 링크

https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/container-lines/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/container-lines/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“콘텐츠 영역이 더 구조적으로 보이도록 페이지에 흐릿한 세로 안내선과 작은 모서리 사각형을 추가해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 주요 콘텐츠 컨테이너의 왼쪽과 오른쪽 가장자리에 얇고 투명도가 낮은 선을 그리고, 모서리에 작은 사각형을 둡니다. 선은 콘텐츠 뒤에 있어 클릭을 막지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Container Lines

Use When

  • A page needs subtle vertical guides that reveal the content container width.
  • A hero, section, or product page feels too loose and needs structural tension.
  • The design calls for mini corner squares, measured edges, or quiet technical framing.

Rules

  1. Draw lines at the left and right edges of the main content container.
  2. Keep lines thin: 1px with low opacity.
  3. Add mini squares at container corners or section intersections.
  4. Keep the line system consistent across sections; do not change width per section.
  5. Place lines behind content but above the page background.
  6. Disable pointer events so the guides never block UI.

Base Tokens

:root {
  --container-max: 1120px;
  --container-pad: clamp(20px, 4vw, 48px);
  --line-color: rgba(24, 24, 27, 0.14);
  --line-strong: rgba(24, 24, 27, 0.28);
  --corner-size: 6px;
}

Page Container Lines

Use pseudo-elements on the layout shell.

.container-lines {
  position: relative;
  isolation: isolate;
}

.container-lines::before,
.container-lines::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 1px;
  background: var(--line-color);
  pointer-events: none;
}

.container-lines::before {
  left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2));
}

.container-lines::after {
  right: max(var(--container-pad), calc((100vw - var(--container-max)) / 2));
}

Corner Squares

Add four small squares to sections that need a precise measured feel.

.corner-squares {
  position: relative;
}

.corner-squares > .corner {
  position: absolute;
  width: var(--corner-size);
  height: var(--corner-size);
  background: var(--line-strong);
  pointer-events: none;
}

.corner.top-left { top: 0; left: 0; transform: translate(-50%, -50%); }
.corner.top-right { top: 0; right: 0; transform: translate(50%, -50%); }
.corner.bottom-left { bottom: 0; left: 0; transform: translate(-50%, 50%); }
.corner.bottom-right { right: 0; bottom: 0; transform: translate(50%, 50%); }
<main class="container-lines">
  <section class="corner-squares">
    <span class="corner top-left"></span>
    <span class="corner top-right"></span>
    <span class="corner bottom-left"></span>
    <span class="corner bottom-right"></span>
    ...
  </section>
</main>

Minimal Section Wrapper

Use the same container width as the line positions.

.content-container {
  width: min(100% - (var(--container-pad) * 2), var(--container-max));
  margin-inline: auto;
}

Taste Rules

  • Use lines as structure, not decoration. They should organize the page quietly.
  • Do not add lines to every nested component; keep them at page or major-section level.
  • Mini squares should be small and exact, usually 4px to 8px.
  • Avoid bright accent colors unless the entire visual system is technical or industrial.
  • Keep container max-width and padding shared between content and guide lines.

Quick Checks

  • The vertical lines align exactly with the content container edges.
  • Corner squares sit on real container or section corners, not arbitrary positions.
  • Lines remain subtle on light and dark backgrounds.
  • Mobile still has enough padding between the line and content.
  • Guides do not intercept clicks, hovers, or text selection.
자주 묻는 질문

선이 버튼을 방해하나요?

아닙니다. 이 스킬은 포인터 이벤트를 절대 막지 않도록 설정합니다.

섹션마다 너비를 바꿔야 하나요?

아닙니다. 이 스킬은 모든 섹션에 하나의 일관된 선 체계를 요구합니다.

선은 얼마나 굵나요?

1픽셀의 얇은 선에 낮은 투명도를 씁니다.

상세 정보

작성자의 원본 설명

Add vertical container-size guide lines with mini corner squares for precise, structured web layouts. Use when asked for container lines, measured layout guides, vertical boundary lines, editorial grid markers, or small corner-square frame details.

repo: MengTo/Skills

인기도

GitHub 스타
7.2k
순위
#13415
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬