HTML:
<a href="http://example.com">Example</a>
CSS:
@media print {
a::after {
content: ' (' attr(href) ')';
}
}
Mit weniger Noise:
a[href^='http']:not([href*='mywebsite.com']):after {
content: ' (' attr(href) ')';
}
HTML:
<a href="http://example.com">Example</a>
CSS:
@media print {
a::after {
content: ' (' attr(href) ')';
}
}
Mit weniger Noise:
a[href^='http']:not([href*='mywebsite.com']):after {
content: ' (' attr(href) ')';
}