Found 1566 Articles for CSS

CSS rest-before Speech Media property

Arjun Thakur
Updated on 25-Jun-2020 14:44:08

87 Views

The CSS rest-after property is useful for speech media to set pause before an element.Let us see an example of rest-before speech media propertyh1 {    rest-before: 15ms; }The time sets the pause in milliseconds.

Perform Animation on CSS min-height

Chandu yadav
Updated on 25-Jun-2020 14:42:24

248 Views

To implement animation on min-height property with CSS, you can try to run the following codeExampleLive Demo                    div {             overflow: auto;             width: 350px;             background-color: blue;             color: white;             border: 1px solid black;             animation: myanim 3s infinite;          }          @keyframes myanim {             ... Read More

CSS voice-duration Speech Media property

George John
Updated on 25-Jun-2020 14:41:51

145 Views

The voice-duration property in CSS is used where synchronization of speech is done with other media.The following is an example to implement the voice-duration speech media propertyp {    voice-duration: 5s; }Above you can set auto value also.The auto value rectify a used value corresponding to the duration of the speech synthesis when using the inherited voice-rate. This is when you use inherited voice-rate.

CSS voice-balance Speech Media property

Ankith Reddy
Updated on 25-Jun-2020 14:41:22

103 Views

Use the voice-balance property to set whether the spoken voice is from the left or right, etc.The following is a syntax to set the volume from left or right or centervoice-balance: left | center | rightLet us see an example to implement the voice-balance speech media propertyp {    voice-balance: right; }

Perform Animation on CSS max-width

Arjun Thakur
Updated on 25-Jun-2020 14:40:38

782 Views

To implement animation on max-width property with CSS, you can try to run the following codeExampleLive Demo                    div {             overflow: auto;             background-color: blue;             color: white;             border: 1px solid black;             animation: myanim 3s;          }          @keyframes myanim {             30% {               ... Read More

Animate CSS right property

Chandu yadav
Updated on 25-Jun-2020 14:39:25

237 Views

To implement animation on right property with CSS, you can try to run the following codeExampleLive Demo                    #demo {             position: absolute;             right: 0;             width: 300px;             height: 200px;             background-color: blue;             animation: myanim 5s infinite;          }          @keyframes myanim {             30% {                right: 350px;             }          }                     CSS right property                This is demo text.          

CSS rest Speech Media property

varun
Updated on 06-Jul-2020 11:43:36

127 Views

The rest property is a shorthand property for rest-before and rest-after properties. Set a pause before or after the element.The following is the syntax:rest: rest-before rest-afterHere,rest-before: Rest for some seconds beforerest-after: Rest for some seconds afterExampleThe following is an example of rest speech media property:h1 {    rest: 15ms 20ms; }

CSS voice-stress Speech Media property

Sreemaha
Updated on 25-Jun-2020 14:36:59

103 Views

Add adjustments to the speech with the voice-stress property like change pitch, how much loud it is, etc.The following is the syntax:voice-stress: normal | strong | moderate | none | reducedThe following example is to implement the voice-stress speech media property:p {    voice-stress: strong; }Above, I have set strong emphasis using the strong voice-stress property value.

CSS voice-volume Speech Media property

Ankith Reddy
Updated on 25-Jun-2020 14:36:15

138 Views

Adjust the relative volume level using the voice-volume CSS property.The following is the syntax:voice-volume: [x-soft | soft | medium | loud | x-loud]The following is a code snippet for the voice-volume speech media property:p {    voice-volume: soft; }You can also set the volume in decibalsp {    voice-volume: 2dB; }Set both the voice-volume media property and volume level in decibals :p {    voice-volume: medium 3dB; }

Perform Animation on CSS opacity

vanithasree
Updated on 25-Jun-2020 14:34:54

105 Views

To implement animation on opacity property with CSS, you can try to run the following code:ExampleLive Demo                    #demo1 {             position: absolute;             top: 60px;             width: 300px;             height: 150px;             background-color: lightblue;             animation: myanim 4s infinite;          }          #demo2 {             position: absolute;             top: 90px;             left: 30px;             width: 300px;             height: 150px;             background-color: orange;             animation: myanim 3s infinite;          }          #demo3 {             position: absolute;             top: 120px;             left: 60px;             width: 350px;             height: 150px;             background-color: coral;          }          @keyframes myanim {             30% {                opacity: 0.4;             }          }                     Showing opacity       End div             Start div    

Advertisements