hyphens

Posted by & filed under H.

The hyphens property controls hyphenation of text in block level elements. You can prevent hyphenation from happening at all, allow it, or only allow it when certain characters are present. Note that hyphens is language-sensitive. Its ability to find break opportunities depends on the language, defined in the lang attribute of a parent element. Not

Continue reading →

height

Posted by & filed under H.

The height property in CSS defines specifies the content height of boxes and accepts any of the length values. The “content” area is defined as the padding, border, and margin of the element. Negative values like height: -100px are not accepted. The height property does not apply to non-replaced inline elements including table columns and column

Continue reading →

hanging-punctuation

Posted by & filed under H.

The hanging-punctuation property aims at giving web web designers a finer grained control over typography on the web. The idea behind hanging punctuation is to put some punctuation characters from start (or to a lesser extend at the end) of text elements “outside” of the box in order to preserve the reading flow. Basically, it

Continue reading →

CSS cheatsheet

Posted by & filed under VIllage.

Selectors .class Selects all elements with .class #id Selects all elements with #id * Selects all elements div Selects all <div> elements div, p Selects all <div> and <p> elements div > p Selects all <p> elements with a parent of <div> div + p Selects all <p> elements placed immediately after <div> elements div~ul

Continue reading →