text 

Send to Kindle
home » snippets » css » text



New CSS3 Text Properties

From: http://www.w3schools.com/css3/css3_text_effects.asp

Property Description CSS
punctuation-trim Specifies whether a punctuation character should be trimmed 3
text-align-last Describes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify" 3
text-emphasis Applies emphasis marks, and the foreground color of the emphasis marks, to the element's text 3
text-justify Specifies the justification method used when text-align is "justify" 3
text-outline Specifies a text outline 3
text-overflow Specifies what should happen when text overflows the containing element 3
text-shadow Adds shadow to text 3
text-wrap Specifies line breaking rules for text 3
word-break Specifies line breaking rules for non-CJK scripts 3
word-wrap Allows long, unbreakable words to be broken and wrap to the next line 3

Snippets

font-size: 0.95em;
line-height: 1.4em;
text-rendering: optimizeLegibility;
-moz-font-feature-settings: "liga=1,kern=1";
-ms-font-feature-settings: "liga" 1, "kern" 1;
-o-font-feature-settings: "liga" 1, "kern" 1;
-webkit-font-feature-settings: "liga" 1, "kern" 1;
font-feature-settings: "liga" 1, "kern" 1;