2023-05-23
My Blog
/* 设置鼠标样式为负色 */
body {
cursor: url(cursors/negative.cur), default;
}
/* 添加粒子效果 */
.particle {
position: absolute;
width: 10px;
height: 10px;
background-color: #fff;
border-radius: 50%;
pointer-events: none;
}
/* 添加返回顶部按钮 */
#back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
display: none;
width: 50px;
height: 50px;
border-radius: 50%;
background-color: #ff8c00;
color: #fff;
text-align: center;
line-height: 50px;
font-size: 24px;
z-index: 999;
cursor: pointer;
}
/* 添加安全防护 */
#security-warning {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
background-color: #ff0000;
color: #fff;
text-align: center;
line-height: 50px;
font-size: 18px;
z-index: 9999;
}
/* 主题样式 */
body {
background-color: #eee;
}
#header {
background-color: #fff;
border-bottom-left-radius: 50px;
border-bottom-right-radius: 50px;
}
#content {
background-color: #fff;
border-radius: 20px;
padding: 20px;
}
/* 添加多样化颜色 */
.colorful {
color: #ff8c00;
}
/* 滚动条样式 */
::-webkit-scrollbar {
width: 10px;
border-radius: 5px;
background-color: #eee;
}
::-webkit-scrollbar-thumb {
width: 10px;
border-radius: 5px;
background-color: #ff8c00;
}
此网站已启用SSL加密,确保您的信息安全。
欢迎来到我的博客
hello world!
下面是一张照片: