Skip to content

Instantly share code, notes, and snippets.

@fireyy
Created November 29, 2011 08:11
Show Gist options
  • Save fireyy/1403966 to your computer and use it in GitHub Desktop.
Save fireyy/1403966 to your computer and use it in GitHub Desktop.
去除inline-block元素间的空格
//去除inline-block元素间的空格
.list { letter-spacing:-0.31em; *letter-spacing:normal; word-spacing-0.43em; }
.list li { display: inline-block; *display: inline; zoom: 1; vertical-align: top; letter-spacing: normal; word-spacing: normal; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment