일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- MAC
- effect
- IOS
- 풀스택
- php
- HTML
- jQuery
- hover
- iOS 개발자
- 개발자
- xcode
- SWIFT
- iPhone
- keyframes
- html5
- 애니메이션
- ipad
- image
- 자바스크립트
- javascript
- front-end
- button
- Animation
- react
- 프론트엔드
- CSS
- 백엔드
- css3
- 비전공자
- 비전공 개발자
- Today
- Total
목록Clock (7)
비전공자 개발일기

12 3 6 9 * { margin: 0; padding: 0; box-sizing: border-box; position: relative; } body { display: flex; justify-content: center; align-items: center; background-color: #ACBACA; min-height: 100vh; } .clock { width: 300px; height: 300px; background-color: #C9D5E0; display: flex; justify-content: center; align-items: center; border-radius: 50px; box-shadow: 30px 30px 30px -10px rgba(0, 0, 0, .1), i..

html { background: #09131d; text-align: center; font-size: 10px; } body { margin: 0; font-size: 2rem; display: flex; flex: 1; min-height: 100vh; align-items: center; } .clock { width: 30rem; height: 30rem; border: 7px solid #09131d; box-shadow: -4px -4px 10px rgba(67, 67, 67, 0.5), inset 4px 4px 10px rgba(0, 0, 0, 0.5), inset -4px -4px 10px rgba(67, 67, 67, 0.5), 4px 4px 10px rgba(0, 0, 0, 0.3);..

Click 👇 to start/pause the timer @property --n { syntax: ""; inherits: true; initial-value: 0; } @property --t { syntax: ""; inherits: true; initial-value: #000; } @property --r { syntax: ""; inherits: true; initial-value: #000; } @property --b { syntax: ""; inherits: true; initial-value: #000; } @property --l { syntax: ""; inherits: true; initial-value: #000; } .d { width: 77px; /* size */ disp..

* { margin: 0; padding: 0; box-sizing: border-box; } .container { display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: #EFEFEF; } .container .date { font-size: 24px; font-weight: 500; } .container .date#printTime { color: #E74C3C; } .container .date#printDate { color: #2ECC71; margin: 0 20px; } .container .date#printDay { color: #9B59B6; } let date = ..

Dark mode @import url('https://fonts.googleapis.com/css?family=Heebo:300&display=swap'); * { box-sizing: border-box; } :root { --primary-color: #000; --secondary-color: #fff; } html { transition: all 0.5s ease-in; } html.dark { --primary-color: #fff; --secondary-color: #333; } html.dark { background-color: #111; color: var(--primary-color); } body { font-family: 'Heebo', sans-serif; display: fle..

Simple Clock html { background: #018ded background-size: cover; font-family: 'helvatica neue'; text-align: center; font-size: 10px; } body { font-size: 2rem; display: flex; flex-flow: column; flex: 1; min-height: 100vh; align-items: center; } h1 { color: lavender; } .clock { width: 30rem; height: 30rem; border: 20px solid lavender; border-radius: 50%; margin: 50px auto; position: relative; paddi..
00:00:00 const clock = document.querySelector("h2#clock"); function getClock() { const date = new Date(); const hours = String(date.getHours()).padStart(2, "0"); const minutes = String(date.getMinutes()).padStart(2, "0"); const seconds = String(date.getSeconds()).padStart(2, "0"); clock.innerText = `${hours}:${minutes}:${seconds}`; } getClock(); setInterval(getClock, 1000);