CoreNext主题美化_友链美化
一、友链按钮美化
把如下代码放到主题设置-插入代码-自定义css里
/* 友链申请按钮美化 */
.application-url {
padding: 5px 10px;
color: white !important;
text-decoration: none;
border-radius: 50px;
background: linear-gradient(to right, #fd0808, #df05ed);
background-size: 200% auto;
animation: flowingGradient 3s ease-in-out infinite;
opacity: 1;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
filter: brightness(130%);
}
.application-url:hover {
transform: scale(1.1);
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-o-transform: scale(1.1);
-ms-transform: scale(1.1);
}
@keyframes flowingGradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.application-url .friends-title > div {
/* 添加一个高度,不然不能对齐 */
line-height: 32px;
}
来源:新锐博客
阅读剩余
THE END