×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: CSS
Posted by: Nicole Patten
Added: Jan 15, 2016 5:52 PM
Views: 12
some nice typographical defaults
more here: http://www.newnet-soft.com/blog/csstypography
  1. p {
  2.   -ms-word-wrap: break-word;
  3.   word-break: break-word;
  4.   word-wrap: break-word;
  5.   -webkit-hyphens: auto;
  6.   -moz-hyphens: auto;
  7.   -ms-hyphens: auto;
  8.       hyphens: auto;
  9.   -webkit-hyphenate-before: 2;
  10.   -webkit-hyphenate-after: 3;
  11.   hyphenate-lines: 3;
  12.   -webkit-font-feature-settings: "liga", "dlig";
  13.   -ms-font-feature-settings: "liga", "dlig";
  14.   -o-font-feature-settings: "liga", "dlig";
  15.   font-feature-settings: "liga", "dlig";
  16. }