Skip to content

Instantly share code, notes, and snippets.

@etherealite
Last active July 22, 2024 09:52
Show Gist options
  • Save etherealite/9d94d4699257af3f31b06e76876d3b06 to your computer and use it in GitHub Desktop.
Save etherealite/9d94d4699257af3f31b06e76876d3b06 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<style>
.gapless {
font-size: 0;
}
span {
padding:0;
marging:0;
display:inline-block;
font-size: medium;
}
</style>
<h2>With Span Tags</h2>
<p class="gapless">
<span>みんな</span>
<span>が</span>
<span>ぶつかっ</span>
<span>てる</span>
<span>よう</span>
<span>に</span>
</p>
<h2>Without Span Tags</h2>
<p>
みんながぶつかってるように
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment