grid-row / grid-column

Posted by & filed under G.

The grid-row and grid-column properties define which row or column an element will be displayed on. .element { grid-row | grid-column: <integer> [DEFAULT: auto]; } Important! grid-row is supposed to be a shorthand for grid-row-position and grid-row-span. The current implementation in Internet Explorer 10 for grid-row should be the one for grid-row-position (which isn’t supported). Same

Continue reading →

font-weight

Posted by & filed under F.

The font-weight property sets the weight, or thickness, of a font and is dependent either on available font faces within a font family or weights defined by the browser. span { font-weight: bold; } The font-weight property accepts either a keyword value or predefined numeric value. The available keywords are: normal bold bolder lighter The

Continue reading →

font-variant

Posted by & filed under F.

The font-variant property allows you to change the targeted text to small caps. This property has been extended in CSS3. p:first-line { font-variant: small-caps; } Before CSS3, this property accepted one of two possible values: normal (how text is rendered by default) and small-caps. A value of small-caps will render the text in uppercase letters

Continue reading →

font-style

Posted by & filed under F.

The font-style property allows you to make text appear italicized (i.e. sloped, or slanted). em { font-style: italic; } This property accepts one of three possible values: normal, italic, and oblique. If a given font family has an italic or oblique face embedded, the browser will select that face. If no italic or oblique face

Continue reading →