Found 10483 Articles for Web Development

Perform Animation on CSS min-height

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

320 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

212 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

164 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

1K+ 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

CSS rest Speech Media property

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

182 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

171 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

210 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

172 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    

Set top-right corner border with CSS

seetha
Updated on 25-Jun-2020 14:29:30

292 Views

Use the border-top-right radius property in CSS to set the top right radius border. You can try to run the following code to implement border-top-right-radius property −ExampleLive Demo                    #rcorner {             border-radius: 25px;             border-top-right-radius: 45px;             background: orange;             padding: 20px;             width: 400px;             height: 250px;          }                     Rounded border-top-right corner!    

Show the flex lines with equal space between them

Chandu yadav
Updated on 06-Jul-2020 11:42:28

213 Views

Use the align-content property with value space-between to add space between the flex lines.ExampleYou can try to run the following code to implement the space-between valueLive Demo                    .mycontainer {             display: flex;             height: 200px;             background-color: #5D6D7E;             align-content: space-between;             flex-wrap: wrap;          }          .mycontainer > div {             background-color: #EBF5FB;             text-align: center;             line-height: 60px;             font-size: 30px;             width: 100px;             margin: 5px;          }                     Queue                Q1          Q2          Q3          Q4          Q5          Q6          Q7          Q8          

Advertisements