“text-decoration” and the “:after” pseudo-element, revisited

后端 未结 11 926
旧巷少年郎
旧巷少年郎 2020-11-27 18:43

I\'m re-asking this question because its answers didn\'t work in my case.

In my stylesheet for printed media I want to append the url after every link using the

11条回答
  •  庸人自扰
    2020-11-27 19:36

    Hi I was also having trouble with this as well and happened to stumble across a workaround.

    To get around it, I wrapped the URL in div and used something like this.

    .next_page:before {
        content: '(';
    }
    
    .next_page:after {
        content: ')';
    }
    

提交回复
热议问题