CSS 文字装饰 background模拟虚线
Thu Apr 29 2021 07:45:36 GMT+0000 (Coordinated Universal Time)
Saved by
@ycljcfer
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. <a>Mollitia nostrum placeat consequatur deserunt velit ducimus possimus commodi temporibus debitis quam</a>, molestiae laboriosam sit repellendus sed sapiente quidem quod accusantium vero.</p>
a {
background: linear-gradient(90deg, #0cc 50%, transparent 50%, transparent 1px);
background-size: 10px 2px;
background-repeat: repeat-x;
background-position: 100% 100%;
}
content_copyCOPY
https://github.com/chokcoco/iCSS/issues/103
Comments