Break/wrap link in mobile view

for instance, instead of pasting that code over and over several times with each new element, could one do something like .parent-element-class, .different element ?

Best,

Nathan