Merge pull request #402 from liuzhihang/chengzhongxue-patch-8

Update zhheoblog.css
This commit is contained in:
困困鱼 2023-08-09 15:44:52 +08:00 committed by GitHub
commit 5b8285016a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -12957,7 +12957,7 @@ img.tk-avatar-img {
}
100% {
top: -60px;
top: -55px;
opacity: 1;
}
}
@ -12980,8 +12980,8 @@ img.tk-avatar-img {
display: none;
/* 绝对定位 */
position: absolute;
/* 向上移动60像素 */
top: -60px;
/* 向上移动55像素 */
top: -55px;
/* 文字强制不换行防止left:50%导致的文字换行 */
white-space: nowrap;
/* 圆角 */
@ -13004,7 +13004,7 @@ img.tk-avatar-img {
position: absolute;
/* 内容大小宽高为0且边框大小不为0的情况下每一条边4个边都是一个三角形组成一个正方形
我们先将所有边框透明再给其中的一条边添加颜色就可以实现小三角图标 */
border: 12px solid transparent;
border: 15px solid transparent;
border-top-color: #444;
left: 50%;
transform: translate(-50%, -46px);