일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- keyframes
- xcode
- HTML
- effect
- SWIFT
- 풀스택
- css3
- hover
- 개발자
- 프론트엔드
- php
- 애니메이션
- jQuery
- 비전공 개발자
- image
- iOS 개발자
- ipad
- 백엔드
- 자바스크립트
- react
- MAC
- javascript
- Animation
- front-end
- 비전공자
- button
- iPhone
- IOS
- CSS
- html5
- Today
- Total
목록Battery (2)
비전공자 개발일기

* { padding: 0; margin: 0; box-sizing: border-box; font-family: "Roboto Mono", monospace; } .container { position: absolute; transform: translate(-50%, -50%); top: 50%; left: 50%; } #battery { box-sizing: content-box; height: 7.8em; width: 17.5em; border: 0.6em solid #246aed; margin: auto; border-radius: 0.6em; position: relative; display: grid; place-items: center; } #battery:before { position:..

Your battery Perctenage is I am Daily Make new content For You ,hope you like this post body { margin: 1rem; padding: 2rem; background-color: #eee; } .battry { font-size: 2rem; color: cornflowerblue; } const BattryLevel = document.querySelector(".battry"); navigator.getBattery().then(function (battery) { const level = battery.level; const status = level * 100 + "%"; BattryLevel.innerHTML = statu..