Skip to content

Commit

Permalink
style and index
Browse files Browse the repository at this point in the history
  • Loading branch information
aliciaggz committed Feb 28, 2022
1 parent 0642a04 commit f58e7f3
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
20 changes: 20 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./style/style.css" />
<title>Document</title>
</head>
<body>
<main>
<div class="circle">
<div class="hand hour"></div>
<div class="hand minutes"></div>
<div class="hand seconds"></div>
</div>
</main>
</body>
<script src="./js/main.js"></script>
</html>
Empty file added js/main.js
Empty file.
26 changes: 26 additions & 0 deletions style/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.circle {
width: 200px;
height: 200px;
border: 10px rgb(255, 255, 255) solid;
border-radius: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.hand {
background-color: black;
width: 3px;
height: 100px;
position: absolute;
bottom: 76%;
}

.hour {
transform: rotate(90deg);
}

* {
background-color: rgb(48, 107, 87);
}

0 comments on commit f58e7f3

Please sign in to comment.