I'm currently working on a project that requires adding a decoration in front of some anchor links (A). Right now, I am using ::before to achieve this. However, there is an issue where some of the links will line-break and the second line and subsequent lines will align left with the decoration instead of aligning with the text on the first line, which doesn't look as nice.
To better explain what we are trying to accomplish, I have created a fiddle. The .fake class is just for demonstration purposes and not an actual solution: https://jsfiddle.net/p0jLoyqz/
.decorated::before {
content: ">",
font-weight: 800
}
One possible solution could be to wrap the anchor in another element and add the decoration to the wrapper. However, it would be best to minimize the markup as much as possible.