Skip to content
Snippets Groups Projects
Commit fd9d637f authored by HouTeng Chan's avatar HouTeng Chan
Browse files

Update file attributions.html

parent d2372a8b
No related branches found
No related tags found
No related merge requests found
......@@ -35,13 +35,13 @@
.progress-bar {
position: fixed;
right: 0;
top: 0;
width: 8px;
background-color: hsl(17, 100%, 50%);
height: 0%;
transition: height 0.3s ease-out;
z-index: 999;
left: 170px; /* 侧边栏宽度加上10px间距 */
top: 230px; /* 与侧边栏顶部对齐 */
width: 8px; /* 进度条宽度 */
background-color: hsl(17, 100%, 50%); /* 进度条颜色 */
height: 0%; /* 初始高度 */
transition: height 0.3s ease-out; /* 平滑过渡效果 */
z-index: 999; /* 确保进度条显示在其他内容之上 */
}
</style>
......@@ -133,4 +133,4 @@
var scrolled = (winScroll / height) * 100;
document.getElementById("progressBar").style.height = scrolled + "%";
};
</script>
\ No newline at end of file
</script>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment