Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
machiaweliczny
· 5y ago · 0 comments
Is it possible to split with CSS so that when copied it won't have spaces?
Comments
[–]
4lun
5y ago
Yep, you can use separate HTML elements, the key bit is to keep the closing and opening tags directly adjacent with no whitespace or newlines, example
https://jsfiddle.net/z65qwuvp/1/
[–]
mvolfik
5y ago
see your comment siblings, there are some clever font tricks to achieve that too