-
CSS transform-style Property
The transform-style property specifies how the children elements are rendered in three dimensional (3D) space. This property is one of the CSS3 properties. It only works with the transform property. The transform-style property has two values: flat and preserve-3d. If “flat” value is set, the element’s children will not exist on their own in the 3D-space. Initial Value flat Applies to Transformable…
-
CSS transform-origin Property
The transform-origin property allows to change the position of the elements’ transformation. The transform-origin property is one of the CSS3 properties. The transform-origin property works only with the transform property. This property can be specified using offset keywords, length values, or percentage values. For maximum browser compatibility, extensions such as -webkit- for Safari, Google Chrome, and Opera (newer versions) are used with this property.…
-
CSS transform Property
With the help of the CSS transform property, a 2D or 3D transformation is applied to the element. It is one of the CSS3 properties. This property allows to rotate, skew, scale or translate the element. It takes none value or from the list of transform functions. Only the box model positioned elements can be transformed. Initial Value…
-
CSS top property
The top property defines the top position of an element in combination with the position property. The effect of the top property depends on how the element is positioned (see position property). Negative values are allowed. Initial Value auto Applies to Positioned elements. Inherited No. Animatable Yes. Version CSS2 DOM Syntax Object.style.top = “50px”; Syntax Example of the top property: Result Example of the top property with…
-
CSS text-underline-position Property
The text-underline-position property specifies the position of the underline on the element with the text-decoration “underline” value specified. The text-underline-position is only partially supported by Chrome . Initial Value auto Applies to All elements. Inherited Yes. Animatable No. Version CSS3 DOM Syntax object.style.textunderlinePosition = “under”; Syntax Example of the text-underline-position property: Result Example of the text-underline-position property with the “under” value: Values Value Description auto…
-
CSS text-transform Property
The text-transform property is used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. Some language-specific case mapping rules are taken into account by this property. Let’s go through some of them: The browser support for the language-specific cases may vary. The “full-width” and “full-size-kana” values are experimental and not yet supported by…
-
CSS text-stroke-width Property
The text-stroke-width property specifies the width of the stroke. Initial Value 0 Applies to All elements. Inherited Yes. Animatable No Version Compatibility Standard DOM Syntax object.style.textStrokeWidth = “thin”; Syntax Example of the text-stroke-width property: Try it Yourself » Result Values Value Description length Specifies the thickness of the stroke. initial Makes the property use its default value.…
-
CSS text-stroke-color Property
The text-stroke-color property specifies the color of the character’s storke. The default value of the text-stroke-color is the default value of the color property. Initial Value currentColor Applies to All elements. Inherited Yes. Animatable Yes. The color is animatable. Version Compatibility Standard DOM Syntax object.style.textStrokeColor = “#8ebf42”; Syntax Example of the text-stroke-color property: Result Values Value Description color Specifies the color…
-
CSS text-stroke Property
The text-stroke property is an experimental property providing decoration options for a text. It is a shorthand for the following properties: There is the text-fill-color property, which overrides the color property, allowing for a graceful fallback to a different text color in browsers that do not support the text-stroke property. Web fonts are typically based on vector graphics which means that the shape is determined…
-
CSS text-shadow Property
The CSS text-shadow property is used to add shadows to the text. You can choose colors from here: HTML colors. The text-shadow property is one of the CSS3 properties. Each shadow is specified by 2 to 3 length values and a <color>. The first value sets the horizontal distance(x-offset), the second value sets the vertical distance(y-offset), the third value sets the…