Search
 
SCRIPT & CODE EXAMPLE
 

CSS

text change animation css

h1:before{
    content: 'Original Text';
    font-size: 600%;
    animation-name: head;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

@keyframes head {
    0% {font-size:600%; opacity:1;}
    25% {font-size:570%; opacity:0;}
    50% {font-size:600%; opacity:1;}
    65% {font-size:570%; opacity:0;}
    80% {font-size:600%; opacity:1; content: "Changed Text"}
    90% {font-size:570%; opacity:0;}
    100% {font-size:600%;opacity:1; content: "Original Text"}
}
Comment

PREVIOUS NEXT
Code Example
Css :: how to hide scrollbar in tailwind css 
Css :: css onclick change color 
Css :: tailwind background gradient 
Css :: setting z index on before after pseudo classes 
Css :: css table size 
Css :: cypress check css property value 
Css :: mysql_config not found 
Css :: add expanding underline on page load css 
Css :: overflow css 
Css :: css comments 
Css :: after icon css 
Css :: css custom scrollbar 
Css :: css media query max width 
Css :: how to center text in a div 
Css :: twig block 
Css :: how to put an element in front 
Css :: css position absolute transition 
Css :: move header down css 
Css :: css minmax 
Css :: call css html 
Css :: css grid responsive 
Css :: overflow-y scroll css 
Css :: how to change only bullet color in css 
Css :: bounced in css animation 
Css :: .txt:hover { text-decoration: underline; } 
Css :: htaccess file extension 
Css :: prefix in css 
Css :: mobile first media queries 
Css :: image overlay css 
Css :: scss color black white 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =