In my quest to divide a sentence into three parts using CSS, consider the example:
United States ("US") - Tax reforms
My goal is to assign names to each of these 3 parts.
- name:
United States
- symbol:
US
- subject:
Tax reforms
I am aware that I can use ("
for the name, ("
and ")
for the symbol, and ") -
for the subject. However, implementing this seems challenging.
While exploring the 'word-break' property, I have not been able to achieve the desired outcome yet.