T
Toolly LLM 모델 테스트 실험실
← 메인
API KEY
G
OpenAI · gpt-oss-120b
openai · 컨텍스트 131k · 무료 티어
USER 17:42 — 12 tokens
환영 페이지에 들어갈 부드러운 글자 페이드인 + 좌→우 스윕 라이트 애니메이션을 CSS로 만들어줘. 가능하면 예시 HTML 한 줄 포함해서.
ASSISTANT 63 569 ms · 1 471 출력 토큰

좋아요. 핵심 아이디어는 ::after로 비스듬한 그라디언트 스트라이프를 만들고, nth-child로 각 글자에 시차를 둬서 페이드인하는 거예요. 아래는 깔끔하게 정리한 CSS·HTML 한 묶음입니다.

CSS welcome.css
/* ─── 각 글자에 시차 부여 ─── */
.welcome span:nth-child(1) { animation-delay: 0.2s; }
.welcome span:nth-child(2) { animation-delay: 0.4s; }
.welcome span:nth-child(3) { animation-delay: 0.6s; }
.welcome span:nth-child(4) { animation-delay: 0.8s; }
.welcome span:nth-child(5) { animation-delay: 1.0s; }

/* ─── 글자 위로 스윕 라이트 ─── */
.welcome::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.4),
    transparent
  );
  transform: skewX(-30deg);
  animation: sweep 2s forwards 1.5s;
}

/* ─── 키프레임 정의 ─── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes sweep {
  from { left: -100%; }
  to   { left: 100%; }
}

글자별 span으로 감싸기만 하면 끝이에요. fadeIn은 글자 자체에, sweep은 컨테이너의 ::after에 걸려있어 깔끔하게 분리됩니다.

🔒 이 사이트는 절대 당신의 API Key를 저장하지 않습니다. 키는 요청 순간에만 사용되며 서버·DB·로그 어디에도 기록되지 않습니다.

AI 모델 선택이 어렵다면?

Toolly가 업무에 맞는 최적 모델과 자동화 방안을 제안합니다.

무료 상담 신청