Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better bar
  • Loading branch information
met18001 committed May 8, 2020
1 parent e0681cd commit b911d91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions final_project/css/style.css
Expand Up @@ -112,7 +112,7 @@ h1{
border-radius: 2.75px;
background-color: white;
box-shadow: 0 4px 8px 0 hsla(162, 93%, 72%, 0.87), 0 6px 20px 0 hsla(162, 93%, 72%, 0.87);
width: 400px;
width: 200px;

}

Expand All @@ -135,8 +135,6 @@ h1{
max-width: 25px;
min-width: 25px;
}
.bar{
width: 350px;
}


}
4 changes: 2 additions & 2 deletions final_project/js/this.js
Expand Up @@ -111,6 +111,6 @@ retrieveSavedText();
//setting width of bar based on day
setInterval(function () {
var now = new Date();
document.getElementById('hours').style.width = ((now.getHours() / 24) * 300) + 'px';
}, 250);
document.getElementById('hours').style.width = ((now.getHours() / 24) * 200) + 'px';
}, 500);

0 comments on commit b911d91

Please sign in to comment.