Skip to content

Instantly share code, notes, and snippets.

View jkosixtyfour's full-sized avatar
🥴
tired

InnsbruckTaos jkosixtyfour

🥴
tired
View GitHub Profile
@jkosixtyfour
jkosixtyfour / index.html
Created March 4, 2022 17:36
Javascript Battery Level
<div class="main">
<h1 id="level" class="animated fadeIn">Battery level: 00%</h1>
<div class="progress">
<div class="progress-bar" style="width: 0%">
</div>
</div>
<a href="http://caniuse.com/#feat=battery-status" class="btn btn-raised btn-primary" target="_blank">Browser compatibility</a>
</div>
a {
color: #025;
}
.header-button {
cursor: pointer;
color: white;
font-weight: bold;
font-size: 14px;
padding: 7px 35px;
border-radius: 5px 5px 0 0;