Front End Technology Articles

Page 513 of 652

Animate vertical-align property with CSS Animation

Arjun Thakur
Arjun Thakur
Updated on 15-Mar-2026 609 Views

The CSS vertical-align property can be animated using CSS animations to create smooth transitions between different vertical alignment values. This is particularly useful for animating inline elements like images, text, or inline-block elements. Syntax selector { vertical-align: initial-value; animation: animation-name duration; } @keyframes animation-name { percentage { vertical-align: target-value; } } Example: Animating Image Vertical Alignment The following example demonstrates how to animate the vertical alignment of an image ...

Read More

CSS rest-after Speech Media property

Nishtha Thakur
Nishtha Thakur
Updated on 15-Mar-2026 191 Views

The CSS rest-after property is used in speech media to specify a pause or rest period after an element is spoken. This property is particularly useful for screen readers and text-to-speech applications to create natural-sounding speech patterns. Syntax selector { rest-after: time | none | x-weak | weak | medium | strong | x-strong; } Possible Values ValueDescription Sets pause duration in seconds (s) or milliseconds (ms) noneNo pause after the element x-weakExtra weak pause (shortest) weakWeak pause mediumMedium pause (default) strongStrong pause x-strongExtra strong pause (longest) ...

Read More

CSS top property with Animation

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 1K+ Views

The CSS top property specifies the vertical position of a positioned element. When combined with CSS animations, you can create smooth movement effects by animating changes to the top value over time. Syntax selector { top: value; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { percentage { top: value; } } Example: Animating Top Property The following example demonstrates how to animate the top property to create a ...

Read More

Animate CSS text-decoration-color property

Nishtha Thakur
Nishtha Thakur
Updated on 15-Mar-2026 274 Views

The CSS text-decoration-color property controls the color of text decorations like underlines, overlines, and line-throughs. You can animate this property to create smooth color transitions in text decorations. Syntax selector { text-decoration-color: color; animation: animation-name duration timing-function; } Example: Animating Text Decoration Color The following example demonstrates how to animate the text-decoration-color property from the default color to orange − .animated-text { font-size: 24px; ...

Read More

Perform Animation on CSS perspective property

Arjun Thakur
Arjun Thakur
Updated on 15-Mar-2026 211 Views

The CSS perspective property defines how far an element is placed from the view, giving it a 3D effect. When animated, it creates dynamic depth changes that make 3D transformations more or less pronounced over time. Syntax selector { perspective: value; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { from { perspective: initial-value; } to { perspective: final-value; } } Example The following example animates the perspective property to create a dynamic 3D effect on a ...

Read More

CSS voice-pitch Speech Media property

Ankith Reddy
Ankith Reddy
Updated on 15-Mar-2026 159 Views

The CSS voice-pitch property is used to set the baseline pitch of the speaking voice when using speech synthesis. This property controls how high or low the voice sounds during text-to-speech output. Syntax selector { voice-pitch: value; } Possible Values ValueDescription x-lowSets an extremely low pitch lowSets a low pitch mediumSets a medium pitch (default) highSets a high pitch x-highSets an extremely high pitch Example: Setting Voice Pitch The following example demonstrates different voice pitch values − ...

Read More

Perform Animation on CSS padding-top property

Daniol Thomas
Daniol Thomas
Updated on 15-Mar-2026 329 Views

The CSS padding-top property can be animated using CSS animations or transitions. This creates smooth visual effects where the top padding of an element gradually changes over time. Syntax @keyframes animation-name { from { padding-top: initial-value; } to { padding-top: final-value; } } selector { animation: animation-name duration timing-function iteration-count; } Example: Animating padding-top Property The following example demonstrates how to animate the padding-top property using CSS keyframes − .container { ...

Read More

CSS speak-as Speech Media property

George John
George John
Updated on 15-Mar-2026 173 Views

The CSS speak-as property is part of the Speech Media module and controls how text should be rendered by speech synthesizers. It determines whether text should be spoken normally, spelled out letter by letter, or treated as digits. Syntax selector { speak-as: value; } Possible Values ValueDescription autoDefault behavior based on content type normalSpeaks the text normally spell-outSpells out text letter by letter digitsSpeaks numbers as individual digits literal-punctuationSpeaks punctuation marks literally no-punctuationIgnores punctuation when speaking Example: Spell-Out Text The following example makes abbreviations spell out ...

Read More

Animate CSS padding-left property

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 535 Views

The CSS padding-left property can be animated to create smooth transitions that change the left padding of an element over time. This creates a visual effect where content moves horizontally as the padding increases or decreases. Syntax selector { animation: animation-name duration timing-function; } @keyframes animation-name { from { padding-left: initial-value; } to { padding-left: final-value; } } Example The following example animates the padding-left property from 0px to 50px and back − ...

Read More

CSS voice-range Speech Media property

Daniol Thomas
Daniol Thomas
Updated on 15-Mar-2026 175 Views

The CSS voice-range property is used to control the range of pitch variation in speech synthesis. It defines how much the pitch can vary from the base pitch when content is read aloud by screen readers or speech synthesizers. Syntax selector { voice-range: value; } Possible Values ValueDescription x-lowVery narrow pitch range lowNarrow pitch range mediumNormal pitch range (default) highWide pitch range x-highVery wide pitch range frequencySpecific frequency value (e.g., 90Hz) Example: Setting Voice Range with Keywords The following example demonstrates different voice range settings − ...

Read More
Showing 5121–5130 of 6,519 articles
« Prev 1 511 512 513 514 515 652 Next »
Advertisements