Created
December 9, 2016 09:48
-
-
Save namnv609/d3d45e74f575b48b07318c4bb5d5805b to your computer and use it in GitHub Desktop.
Remove the spaces in HTML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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