User:Star0/sandbox/styles.css:修订间差异
< User:Star0 | sandbox
(页面内容被替换为“.CCsingle { position: relative; } .CCsingle::after { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 50%; background-color: #9a337a; clip-path: polygon(100% 0, 0 0, 100% 100%); }”) 标签:替换 |
无编辑摘要 |
||
第10行: | 第10行: | ||
width: 50%; | width: 50%; | ||
height: 50%; | height: 50%; | ||
clip-path: polygon(100% 0, 0 0, 100% 100%); | clip-path: polygon(100% 0, 0 0, 100% 100%); | ||
} | |||
.CCsingle-byd::after { | |||
background-color: #FF7373; /* byd颜色 */ | |||
} | |||
.CCsingle-etr::after { | |||
background-color: #A598BB; /* etr颜色 */ | |||
} | |||
.CCsingle-ftr::after { | |||
background-color: #9a337a; /* ftr颜色 */ | |||
} | |||
.CCsingle-prs::after { | |||
background-color: #b3cc54; /* prs颜色 */ | |||
} | } |
2024年11月23日 (六) 22:06的版本
.CCsingle {
position: relative;
}
.CCsingle::after {
content: '';
position: absolute;
top: 0;
right: 0;
width: 50%;
height: 50%;
clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.CCsingle-byd::after {
background-color: #FF7373; /* byd颜色 */
}
.CCsingle-etr::after {
background-color: #A598BB; /* etr颜色 */
}
.CCsingle-ftr::after {
background-color: #9a337a; /* ftr颜色 */
}
.CCsingle-prs::after {
background-color: #b3cc54; /* prs颜色 */
}