Skip to content

Instantly share code, notes, and snippets.

@jitendravyas
Created October 19, 2012 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jitendravyas/3916889 to your computer and use it in GitHub Desktop.
Save jitendravyas/3916889 to your computer and use it in GitHub Desktop.
Useful snippets from 456bereastreet.com
/*http://www.456bereastreet.com/archive/201210/removing_whitespace_around_text_fields/
Removing whitespace around text fields */
input,
textarea {
margin:0;
vertical-align:bottom;
}
*/http://www.456bereastreet.com/archive/201204/automatic_line_breaks_in_narrow_columns_with_css_3_hyphens_and_word-wrap/
Automatic line breaks in narrow columns with CSS 3 hyphens and word-wrap*/
selector {-moz-hyphens:auto;
-ms-hyphens:auto;
-webkit-hyphens:auto;
hyphens:auto;
word-wrap:break-word;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment