Skip to content

Commit

Permalink
feat: 添加 repo 链接
Browse files Browse the repository at this point in the history
  • Loading branch information
suiyun39 committed Dec 30, 2023
1 parent f0419da commit 37ffb9b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/assets/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,9 @@ <h1>计时器</h1>
<div class="clock"></div>
</section>
</article>

<a class="repo-link" href="https://github.com/suiyun39/css-timer" target="_blank">
<img src="./assets/github.svg" alt="github" />
</a>
</body>
</html>
11 changes: 11 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,14 @@ body {
animation: none;
}
}

.repo-link {
position: fixed;
top: 30px;
right: 30px;

img {
width: 60px;
height: 60px;
}
}

0 comments on commit 37ffb9b

Please sign in to comment.