-
CSS text-fill-color Property
The text-fill-color property specifies the fill color of characters of the text. If this property is not specified, the value of the color property is used. The text-fill-color and the color properties are the same, but the text-fill-color takes precedence over the color if the two have different values. Initial Value currentColor Applies to All elements. Inherited Yes. Animatable…
-
CSS text-decoration-style Property
The text-decoration-style property specifies the style of the text decoration. Styles can be solid, dashed, dotted, double and wavy. The text-decoration-style property is one of the CSS3 properties. Initial Value solid Applies to All elements. It also applies to ::first-letter and ::first-line. Inherited No. Animatable No. Version CSS3 DOM Syntax object.style.textDecorationStyle = “dotted”; Syntax Example of the text-decoration-style property: Result Example of the text-decoration-style property with the…
-
CSS text-decoration-skip-ink Property
The text-decoration-skip-ink property specifies how underlines and overlines are drawn when they cross over a glyph. Initial Value auto Applies to All elements. Inherited Yes. Animatable No. Version CSS Text Decoration Module Level 4 DOM Syntax object.style.textDecorationSkipInk = “none”; Syntax Example of the text-decoration-skip-ink property: Result Values Value Description auto Underlines and overlines are only drawn where they do…
-
CSS text-decoration-skip Property
The text-decoration-skip property specifies the parts of an element’s content the text decoration should skip over. It controls all text decoration lines drawn by the element and by its ancestors. Initial Value objects Applies to All elements. Inherited Yes. Animatable No. Version CSS3 DOM Syntax object.style.textDecorationSkip = “spaces”; Syntax Example of the text-decoration-skip property: Result Values Value…
-
CSS text-decoration-line Property
The text-decoration-line property specifies the kind of line which will be used for text decoration. The text-decoration-line property is one of the CSS3 properties. The text-decoration-line property accepts one or more values. Initial Value none Applies to All elements. It also applies to ::first-letter and ::first-line. Inherited No. Animatable No. Version CSS3 DOM Syntax object.style.textDecorationLine = “overline underline”; Syntax Example of the text-decoration-line property: Result Example of…
-
CSS text-decoration-color Property
The text-decoration-color property is used to set the color of the text decoration. You can choose colors from here HTML colors. The colors can be applied to such decorations, as overlines, underlines, and wavy lines, in the scope of the value of this property. The text-decoration-color property is one of the CSS3 properties. Initial Value currentColor Applies to All elements. It…
-
CSS text-decoration Property
The text-decoration property is used to set the decoration of the text. In CSS3, it is a shorthand for the following properties: If the value of one of these properties is absent, the default value will automatically be set. The text-decoration-line is required. In CSS1 specification the text-decoration was not a shorthand and had the following values: Initial Value none currentColor…
-
CSS text-combine-upright Property
The text-combine-upright property specifies the combination of characters into the space of a single character. If the combined text is wider than 1em, the user agent should fit the contents within 1em. Initial Value none Applies to Non-replaced inline elements. Inherited Yes. Animatable No. Version CSS1 DOM Syntax object.style.textCombineUpright = “all”; Syntax Example of the text-combine-upright property: Result Values…
-
CSS text-align-last Property
The CSS text-align-last property sets the alignment of the last line of the text. It is one of the CSS3 properties. The text-align-last property sets the alignment for all last lines within the selected element. If a <div> with three paragraphs in it, the text-align-last will apply to the last line of each of the paragraphs. Initial Value auto Applies to Block containers. Inherited…
-
CSS text-align Property
The text-align property is used for aligning the inner content of a block element. You can use the margin property to center the element. Initial Value left if direction is “ltr”, right if direction is “rtl” Applies to Block containers. Inherited Yes Animatable No. Version CSS1 DOM Syntax object.style.textAlign = “right”; Syntax Example of the text-align property with the “right” and…
