text-shadow

Posted by & filed under T.

p { text-shadow: 1px 1px 1px #000; } You can apply multiple text shadows by comma separating p { text-shadow: 1px 1px 1px #000, 3px 3px 5px blue; } The first two values specify the length of the shadow offset. The first value specifies the horizontal distance and the second specifies the vertical distance of

Continue reading →

text-rendering

Posted by & filed under T.

The text-rendering property in CSS allows you to choose quality of text over speed (or vice versa) allowing you to fine tune optimization by suggesting to the browser as to how it should render text on the screen. Said another way in MDN: The text-rendering CSS property provides information to the rendering engine about what

Continue reading →

text-overflow

Posted by & filed under T.

The text-overflow property in CSS deals with situations where text is clipped when it overflows the element’s box. It can be clipped (i.e. cut off, hidden), display an ellipsis (‘…’, Unicode Range Value U+2026) or display an author-defined string (no current browser support for author-defined strings). .ellipsis { text-overflow: ellipsis; /* Required for text-overflow to

Continue reading →

text-indent

Posted by & filed under T.

The text-indent property specifies how much horizontal space text should be moved before the beginning of the first line of the text content of an element. Spacing is calculated from the starting edge of the block-level container element. The starting edge is usually on the left, but can be right if in right-to-left mode, ala

Continue reading →