设计一下代码
.entry-content pre:before {
content: '';
position: absolute;
top: 0;
left: 25px;
width: 15px;
height: 15px;
border-radius: 50%;
margin: 15px 25px;
background: #fdbc40;
}
ol.linenums:after {
content: '';
position: absolute;
top: 0;
left: 50px;
width: 15px;
height: 15px;
border-radius: 50%;
margin: 15px 25px;
background: #35cd4b;
}.entry-content pre:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 15px;
height: 15px;
border-radius: 50%;
background: #fc625d;
margin: 15px 25px;
.entry-content pre:before { content: ''; position: absolute; top: 0; left: 25px; width: 15px; height: 15px; border-radius: 50%; margin: 15px 25px; background: #fdbc40; } ol.linenums:after { content: ''; position: absolute; top: 0; left: 50px; width: 15px; height: 15px; border-radius: 50%; margin: 15px 25px; background: #35cd4b; }.entry-content pre:after { content: ''; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fc625d; margin: 15px 25px; }.entry-content pre { position: relative; border-radius: 6px; /**background: #21252b;**/ padding-top: 50px; box-shadow: 0px 8px 20px -10px #000; }.entry-content pre .copy { position: absolute; top: 0; right: 0; margin: 10px 20px; cursor: pointer; color: #8224e3; } /**代码高亮-https://www.xcbtmw.com/26354.html**/ 一键复制. 原文出自[博学网络工作室门户网] 转载请保留原文链接: https://www.boxue.ltd/article/524.html