代码部署
将下面的代码直接丢到:子比主题–>>自定义CSS样式即可!
.article-content > .wp-posts-content > h2,
3.
.article-content .wp-posts-content > h1,
4.
.article-content .wp-posts-content > h3 {
5.
z-index: 1;
6.
}
7.
8.
.article-content > .wp-posts-content > h2:hover::before,
9.
.article-content > .wp-posts-content > h2:hover::after,
10.
.article-content > .wp-posts-content > h1:hover::before,
11.
.article-content > .wp-posts-content > h1:hover::after,
12.
.article-content > .wp-posts-content > h3:hover::before,
13.
.article-content > .wp-posts-content > h3:hover::after {
14.
transform: scale(1.2) !important;
15.
transform-origin: center !important;
16.
transition: 0.4s;
17.
}
18.
19.
.article-content .wp-posts-content h2::before,
20.
.article-content .wp-posts-content h1::before,
21.
.article-content .wp-posts-content h3::before {
22.
box-shadow: none !important;
23.
opacity: 0.6 !important;
24.
border-radius: 50% !important;
25.
top: -5px !important;
26.
left: -10px !important;
27.
z-index: 1;
28.
}
29.
30.
.article-content .wp-posts-content h1::before,
31.
.article-content .wp-posts-content h1::after {
32.
background: linear-gradient(#409eff, transparent) !important;
33.
}
34.
35.
.article-content .wp-posts-content h2::before,
36.
.article-content .wp-posts-content h2::after {
37.
background: linear-gradient(#00ff62, transparent) !important;
38.
}
39.
40.
.article-content .wp-posts-content h3::before,
41.
.article-content .wp-posts-content h3::after {
42.
background: linear-gradient(#ff9800, transparent) !important;
43.
}
44.
45.
.article-content .wp-posts-content h1::before {
46.
height: 35px !important;
47.
width: 35px !important;
48.
}
49.
50.
.article-content .wp-posts-content h2::before {
51.
height: 30px !important;
52.
width: 30px !important;
53.
}
54.
55.
.article-content .wp-posts-content h3::before {
56.
height: 25px !important;
57.
width: 25px !important;
58.
}
59.
60.
.article-content .wp-posts-content h2::after,
61.
.article-content .wp-posts-content h1::after,
62.
.article-content .wp-posts-content h3::after {
63.
content: "";
64.
opacity: 0.6;
65.
position: absolute;
66.
transition: 0.4s;
67.
border-radius: 50%;
68.
}
69.
70.
.article-content .wp-posts-content h2::after {
71.
top: -15px;
72.
left: 15px;
73.
width: 10px;
74.
height: 10px;
75.
}
76.
77.
.article-content .wp-posts-content h1::after {
78.
top: -13px;
79.
left: 25px;
80.
width: 13px;
81.
height: 13px;
82.
}
83.
84.
.article-content .wp-posts-content h3::after {
85.
top: -17px;
86.
left: 12px;
87.
width: 8px;
88.
height: 8px;
89.
} 弹幕表态
共 21 条 · 强度归一




- 最新
- 最热
只看作者