Apologies for the vague title.
The question: Is there a way with CSS (avoiding JavaScript) to replace spaces with another character without the extra tags? e.x: <h1>coming soon</h1>
Here's an example of what I'd like to improve:
<style>
@import 'https://fonts.googleapis.com/css?family=Roboto+Mono';
@import 'https://justinoboyle.github.io/font/stylesheet.css';
* {
font-family: 'Roboto Mono', monospace;
}
body {
background-color: #01000f;
}
h1 {
color: #1e88e5;
font-size: 5vw;
}
h1 > endword:before {
content: "·";
color: #444444;
}
h1 > endword:after {
content: "⏎";
margin-left: 1vw;
color: #444444;
font-family: "carriagereturn";
}
</style>
<h1>coming<endword>soon</endword></h1>
Thank you in advance, and if there is something that needs clarification, then please let me know in the comments.