text-decoration

Posted by & filed under T.

The text-decoration property is used to add visual emphasis to content that is independent from the text’s font style, weight or other properties. <p class=”underline”>Underlined Text</p> <p class=”overline”>Overline Text</p> <p class=”strikethrough”>Stricken Text</p> <p class=”blink”>Blinking Text (may not work in your browser!)</p> .underline {text-decoration: underline;} .overline {text-decoration: overline;} .strikethrough {text-decoration: line-through;} .blink {text-decoration: blink;} body {

Continue reading →

text-align

Posted by & filed under T.

The text-align property in CSS is used for aligning the inner content of a block element. p { text-align: center; } These are the traditional values for text-align: left – The default value. Content aligns along the left side. right – Content aligns along the right side. center – Content centers between the left and

Continue reading →

tab-size

Posted by & filed under T.

The tab-size property in CSS is used to adjust the amount of spaces that display for the tab character. The tab character (unicode U+0009) is typically converted to spaces (unicode U+0020) by the white space processing rules and then collapsed so that only one space in a row is displayed in the browser. Therefore the

Continue reading →

scrollbar

Posted by & filed under S.

The scrollbar set of CSS properties is a proprietary style hook from Internet Explorer 5.5, which let designers create custom themes for the browser’s native scrollbars. Currently, it is exposed behind the -webkit vendor prefix for use in browsers using the Webkit (and Blink) rendering engine. body::-webkit-scrollbar { width: 1em; } body::-webkit-scrollbar-track { -webkit-box-shadow: inset

Continue reading →