성능
통과프레임 속도: 평균 58.3 fps, p5 59.5 · 긴 작업: 0개, 총 0 ms, 최장 0 ms · 소스 gzip 1.8 KB · 런타임 4.8 KB
terrible-frog-94MIT토글Uiverse.io
csemszepp가 HTML과 CSS만으로 만든 토글입니다. Uiverse.io에서 MIT 라이선스로 수집했고 여기서 실제로 실행됩니다.
품질 보고
등급과 점수는 빌드 또는 테스트 때 실행한 자동 검사에서 나옵니다. 실행하지 않은 항목은 '미검사'로 표시하며, 숫자를 지어내지 않습니다.
프레임 속도: 평균 58.3 fps, p5 59.5 · 긴 작업: 0개, 총 0 ms, 최장 0 ms · 소스 gzip 1.8 KB · 런타임 4.8 KB
문제 0 · 스크린 리더: 통과
지속 움직임 없음
넘침 없음 · 1
프레임 속도와 긴 작업 수치는 헤드리스 Chromium에서 소프트웨어 WebGL로 측정했습니다. 이 사이트의 컴포넌트끼리만 비교해야 하며, 실제 기기의 성능이 아닙니다.
해당 없음: 정지 상태에서 보이는 애니메이션이 없습니다. 호버로 시작되는 애니메이션은 검사하지 않았습니다.
axe-core 위반이 없습니다.

검사일 2026년 11월 15일 · 수치는 자동 스크립트에서 오며, 손으로 쓴 예시가 아닙니다.
실제 크기로 보여 줍니다.
복사한 내용은 라이선스 고지로 시작합니다. 코드를 쓸 때 남겨 두세요.
<div class="form">
<input type="checkbox" id="bubble">
<label class="bubble" for="bubble"></label>
</div>/* From Uiverse.io by csemszepp - Source: https://codepen.io/onediv/pen/pjgNqJ - Tags: switch, toggle switch */
.form {
position: absolute;
top: 50%;
left: 50%;
height: 100px;
padding: 10px 0;
width: 260px;
transform: translate3d(-50%,-50%,0);
}
.form:before {
content: '';
position: absolute;
top: 0;
left: -5px;
height: 100%;
width: 120px;
background-color: #243548;
border-radius: 50%;
box-shadow: 75px 0 0 #243548, 150px 0 0 #243548;
}
.form:after {
content: '';
position: absolute;
top: -94px;
left: 70px;
height: 100%;
width: 120px;
border-radius: 50%;
}
.form input {
position: absolute;
left: -9999px;
}
.bubble {
position: absolute;
z-index: 2;
cursor: pointer;
top: 50%;
left: 50%;
height: 100px;
width: 100px;
transform: translate3d(-75%,-50%,0);
margin-left: -50px;
background: #BBBBBB;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
border-right: 0px solid #BBBBBB;
border-left: 0px solid #BBBBBB;
animation: toggle-reverse 2s 1;
}
#bubble:checked + .bubble {
animation: toggle 2s 1;
transform: translate3d(75%,-50%,0);
background: #3CCC97;
}
.bubble:after {
content: '';
position: absolute;
top: 50%;
margin-top: -15px;
margin-left: -2px;
height: 30px;
width: 4px;
background: #fff;
left: 50%;
transform: rotate(45deg);
border-radius: 2px;
transition: 500ms ease all 1.25s;
}
.bubble:before {
content: '';
position: absolute;
top: 50%;
margin-top: -15px;
margin-left: -2px;
height: 30px;
width: 4px;
background: #fff;
left: 50%;
transform: rotate(-45deg);
border-radius: 2px;
transition: 500ms ease all 1.25s;
}
#bubble:checked + .bubble:after {
content: '';
position: absolute;
top: 50%;
margin-top: -15px;
margin-left: 5px;
height: 30px;
width: 4px;
background: #fff;
left: 50%;
transform: rotate(225deg);
border-radius: 2px;
}
#bubble:checked + .bubble:before {
content: '';
position: absolute;
top: 50%;
margin-top: -7px;
margin-left: -10px;
height: 20px;
width: 4px;
background: #fff;
left: 50%;
transform: rotate(-215deg);
border-radius: 2px;
}
@keyframes toggle {
0% {
transform: translate3d(-75%,-50%,0);
border-right: 0 solid #BBBBBB;
border-left: 0 solid #BBBBBB;
background: #BBBBBB;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
height: 100px;
}
20% {
border-right: 0 solid #BBBBBB;
border-left: 0 solid #BBBBBB;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
transform: translate3d(-75%,-50%,0);
height: 100px;
}
40% {
border-left: 0 solid #BBBBBB;
border-radius: 35% 65% 65% 35% / 50% 50% 50% 50%;
height: 90px;
}
50% {
transform: translate3d(0%,-50%,0);
border-right: 25px solid #BBBBBB;
border-left: 0 solid #BBBBBB;
background: #BBBBBB;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
height: 90px;
}
75% {
border-left: 25px solid #3CCC97;
border-color: #3CCC97;
background: #3CCC97;
border-radius: 65% 35% 35% 65% / 50% 50% 50% 50%;
height: 90px;
}
100% {
border-right: 0 solid #3CCC97;
border-left: 0 solid #3CCC97;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
transform: translate3d(75%,-50%,0);
height: 100px;
width: 100px
}
}
@keyframes toggle-reverse {
0% {
transform: translate3d(75%,-50%,0);
background: #3CCC97;
border-right: 0 solid #3CCC97;
border-left: 0 solid #3CCC97;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
height: 100px;
}
20% {
border-right: 0 solid #3CCC97;
border-left: 0 solid #3CCC97;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
transform: translate3d(75%,-50%,0);
height: 100px;
}
40% {
border-right: 0 solid #3CCC97;
border-radius: 65% 35% 35% 65% / 50% 50% 50% 50%;
height: 90px;
}
50% {
transform: translate3d(0%,-50%,0);
border-left: 25px solid #3CCC97;
border-right: 0 solid #3CCC97;
background: #3CCC97;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
height: 90px;
}
75% {
border-right: 25px solid #BBBBBB;
border-color: #BBBBBB;
background: #BBBBBB;
border-radius: 35% 65% 65% 35% / 50% 50% 50% 50%;
height: 90px;
}
100% {
border-right: 0 solid #BBBBBB;
border-left: 0 solid #BBBBBB;
border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
transform: translate3d(-75%,-50%,0);
height: 100px;
width: 100px
}
}컨트롤 · HTML · CSS · JS
코드를 고치고 컨트롤로 다듬어 보세요. 입력하는 대로 미리보기가 바뀝니다.

이 컴포넌트는 번들된 빌드로 실행되므로 여기서는 스크립트를 읽기만 할 수 있습니다. HTML과 CSS는 수정할 수 있고 전체 소스는 코드 탭에 있습니다.
모든 컴포넌트를 바로 편집하고, 컨트롤로 다듬고, 전체 소스를 내려받고, 고급 프롬프트를 복사하세요.
1회 결제 $49임시 가격
테스트 모드: 실제 결제는 이루어지지 않습니다.
무료: 미리보기, 복사 버튼, 레슨 설명.
트랙은 세 개의 짙은 남색 원이 구름처럼 결합되어 있고 그 위에 거품 손잡이가 떠 있어 부드럽고 몽환적입니다.
야간 모드, 수면 앱, 기발한 설정.
#243548 구름 색상, 75px 및 150px 원 오프셋, 260px 너비 및 거품 스타일을 변경합니다.
순수 HTML, CSS, JavaScript(프레임워크 없이)로 "클라우드 버블 토글" 컴포넌트를 만들어 주세요. 트랙은 세 개의 짙은 남색 원이 구름처럼 결합되어 있고 그 위에 거품 손잡이가 떠 있어 부드럽고 몽환적입니다. 쓰는 곳: 야간 모드, 수면 앱, 기발한 설정. 다음 항목을 조정할 수 있게 해 주세요: #243548 구름 색상, 75px 및 150px 원 오프셋, 260px 너비 및 거품 스타일을 변경합니다. 라이트와 다크 테마를 지원하고, prefers-reduced-motion에서는 정지 화면을 보여 주고, 글자는 잘 읽히고 컨트롤은 키보드로도 쓸 수 있게 해 주세요. 유료나 제한된 컴포넌트 라이브러리에서 복사하지 말고 직접 작성해 주세요.
조정, 접근성, 연동 단계까지 담은 긴 프롬프트입니다.