Skip to content

Instantly share code, notes, and snippets.

@ituki
Created May 27, 2013 06:10
Show Gist options
  • Save ituki/5655424 to your computer and use it in GitHub Desktop.
Save ituki/5655424 to your computer and use it in GitHub Desktop.
inline-blockで横並びした時の隙間を消す ref: http://qiita.com/items/f977a5b7b28dfe80c74c
ul {
text-align: center;
letter-spacing: -.40em; /* 文字間を詰めて隙間を削除する */
}
li {
display: inline-block;
letter-spacing: normal; /* 文字間を通常に戻す */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment