Properties

Last updated on

The zoom property in CSS allows you to scale your content. It is non-standard, and was originally implemented only in Internet Explorer. Although several other browsers now support zoom, it isn’t recommended for production sites. .zoom { zoom: 150%; } The “supported: values are: percentage – Scale by this percentage number – Convert to percentage

Continue reading →

Last updated on

div { z-index: 1; /* integer */ } The z-index property in CSS controls the vertical stacking order of elements that overlap. As in, which one appears as if it is physically closer to you. z-index only effects elements that have a position value other than static (the default). Elements can overlap for a variety of

Continue reading →

Last updated on

The word-spacing property is similar to letter-spacing, though naturally its use governs the amount of space between the words in a piece of text, not the individual characters. p { word-spacing: 2em; } word-spacing can receive three different values: the “normal” keyword, which resets the default spacing length values using any CSS units (most commonly

Continue reading →

Last updated on

p { word-break: normal | break-all | keep-all; } Normally, line breaks in text can only occur in certain spaces, like when there is literally a space or a hyphen. When you set word-break to break-all, line breaks can occur between any character. Resulting in, for example: Perform ance (if that word wouldn’t quite fit

Continue reading →