Web Development Articles

Page 619 of 801

CSS voice-balance Speech Media property

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

The CSS voice-balance property controls the horizontal positioning of synthesized speech in a stereo field. This property determines whether the voice appears to come from the left, center, or right channel when using text-to-speech functionality. Syntax selector { voice-balance: value; } Possible Values ValueDescription leftVoice appears to come from the left channel centerVoice appears centered in the stereo field (default) rightVoice appears to come from the right channel leftwardsVoice shifts toward the left rightwardsVoice shifts toward the right Example: Setting Voice Balance The following example demonstrates ...

Read More

Perform Animation on CSS max-width

Arjun Thakur
Arjun Thakur
Updated on 15-Mar-2026 1K+ Views

The CSS max-width property can be animated to create dynamic width transitions. This is particularly useful for creating responsive layouts, expandable containers, or smooth resizing effects. Syntax selector { max-width: value; animation: animation-name duration; } @keyframes animation-name { percentage { max-width: value; } } Example: Basic max-width Animation The following example demonstrates a smooth transition of the max-width property from its initial state to 250px − ...

Read More

CSS rest Speech Media property

varun
varun
Updated on 15-Mar-2026 241 Views

The CSS rest property is a shorthand property for rest-before and rest-after properties. It sets a pause before or after an element when using speech synthesis or screen readers. Syntax selector { rest: rest-before rest-after; } Where: rest-before − Sets the pause duration before the element is spoken rest-after − Sets the pause duration after the element is spoken Possible Values ValueDescription timeDuration in seconds (s) or milliseconds (ms) noneNo pause (default value) x-weakVery short pause weakShort pause mediumMedium pause strongLong pause x-strongVery long pause ...

Read More

CSS voice-stress Speech Media property

Sreemaha
Sreemaha
Updated on 15-Mar-2026 211 Views

The CSS voice-stress property controls the level of stress or emphasis applied to spoken text in speech synthesis. This property adjusts characteristics like pitch variation and intensity to convey different levels of emphasis when content is read aloud by screen readers or text-to-speech software. Syntax selector { voice-stress: value; } Possible Values ValueDescription normalDefault stress level with natural emphasis strongHigh stress with increased pitch variation and intensity moderateMedium stress level between normal and strong reducedLower stress with minimal pitch variation noneNo stress applied, monotone speech Example: Strong ...

Read More

Perform Animation on CSS opacity

vanithasree
vanithasree
Updated on 15-Mar-2026 250 Views

The CSS opacity property controls the transparency of an element. When combined with CSS animations, you can create smooth fade-in and fade-out effects that enhance user experience on web pages. Syntax @keyframes animation-name { from { opacity: start-value; } to { opacity: end-value; } } selector { animation: animation-name duration timing-function iteration-count; } Possible Values ValueDescription 0Completely transparent (invisible) 0.550% transparent 1Completely opaque (fully visible) Example: Fade Animation The following example demonstrates opacity animation with multiple overlapping ...

Read More

Perform Animation on CSS line-height property

usharani
usharani
Updated on 15-Mar-2026 583 Views

The CSS line-height property can be animated to create smooth transitions between different line spacing values. This is useful for creating dynamic text effects where the vertical spacing between lines changes over time. Syntax selector { line-height: value; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { from { line-height: initial-value; } to { line-height: final-value; } } Example: Basic Line Height Animation The following example demonstrates how to animate the line-height property from 20px to 50px ...

Read More

Animate CSS column-rule-color property

varma
varma
Updated on 15-Mar-2026 288 Views

The CSS column-rule-color property defines the color of the rule (line) between columns in a multi-column layout. You can animate this property to create dynamic visual effects where the column divider changes color over time. Syntax selector { column-rule-color: color; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { from { column-rule-color: initial-color; } to { column-rule-color: final-color; } } Example The following example demonstrates animating the column-rule-color property from orange to black − ...

Read More

CSS white-space Property

vanithasree
vanithasree
Updated on 15-Mar-2026 148 Views

The CSS white-space property controls how white-space characters (spaces, tabs, line breaks) inside an element are handled. It determines whether white-space is preserved, collapsed, or wrapped. Syntax selector { white-space: value; } Possible Values ValueDescription normalDefault. White-space is collapsed and text wraps normally nowrapWhite-space is collapsed but text does not wrap preWhite-space is preserved and text does not wrap pre-wrapWhite-space is preserved but text wraps when necessary pre-lineWhite-space is collapsed except for line breaks Example: Comparing white-space Values The following example demonstrates different white-space property values ...

Read More

CSS nav-down property

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

The CSS nav-down property defines which element should receive focus when the user presses the down arrow key. This property is part of CSS spatial navigation, designed primarily for TV remotes and game controllers where users navigate using directional keys. Syntax selector { nav-down: target; } Possible Values ValueDescription autoBrowser determines the next element (default) idID of the element to focus when down arrow is pressed inheritInherits the value from parent element Example: Creating Navigation Grid The following example creates a grid of buttons where pressing ...

Read More

Animate CSS border-top-color property

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

The CSS border-top-color property can be animated to create dynamic color transitions on an element's top border. This property defines the color of the top border and can smoothly transition between different color values using CSS animations. Syntax selector { border-top-color: color; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { from { border-top-color: initial-color; } to { border-top-color: final-color; } } Example The following example demonstrates how to animate the border-top-color property from yellow to red ...

Read More
Showing 6181–6190 of 8,010 articles
« Prev 1 617 618 619 620 621 801 Next »
Advertisements