Computer Science, asked by bhoomibajaj2711, 8 months ago

Write HTML code to display a text mobile
would having for front size 24, background
colour aqua and blinking effect using CSS .

Answers

Answered by vhictorx
5

<!doctype html>

<head>

<meta name="viewport" content="width=device-width">

<style>

html {  

   font-family: sans-serif;

   font-size: 24px;

   text-align: center;

   background-color: #00ffff;

}

.blinking{

   animation:blinkingText 1.2s infinite;

}

@keyframes blinkingText{

   0%{     color: #000;    }

   49%{    color: #000; }

   60%{    color: transparent; }

   99%{    color:transparent;  }

   100%{   color: #000;    }

}

</style>

</head>

<body>

<span class="blinking">I am a blinking text</span>

</body>

Similar questions