Is there a way to add > to the end of all hrefs using CSS?
You can use the :after selector and the content property:
a:after {
content: ">";
}
Note that pseudo-elements created this way are not part of the DOM and therefore you can't get a reference to them in JavaScript.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With