Skip to content

Instantly share code, notes, and snippets.

@namnv609
Created December 9, 2016 09:48
Show Gist options
  • Save namnv609/d3d45e74f575b48b07318c4bb5d5805b to your computer and use it in GitHub Desktop.
Save namnv609/d3d45e74f575b48b07318c4bb5d5805b to your computer and use it in GitHub Desktop.
Remove the spaces in HTML
<ul>
<li>
one</li><li>
two</li><li>
three</li>
</ul>
<!-- or -->
<ul>
<li>one</li
><li>two</li
><li>three</li>
</ul>
<!-- or -->
<ul>
<li>one</li><!--
--><li>two</li><!--
--><li>three</li>
</ul>
<!-- Credit: https://css-tricks.com/fighting-the-space-between-inline-block-elements/ -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment