CSS Blinking Text.Today in this blog, we gonna learn about the CSS Text blinking effect tutorial for Beginners.
CSS Blinking Text Effect
Hi Friends!
Today in this blog, we gonna learn about the CSS Text blinking effect tutorial for Beginners. it's easy to learn because it's made by using HTML & CSS only. Text effects are easy to learn. in the previous blog, we will learn about CSS Water Effect For Beginners and this blog will help you learn about the basics of CSS and help to learn faster. In this blog, I will give my video tutorial and source codes to download. if you have any doubts ask me in the comment section.
HTML file
[
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>css blinking effect</title>
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<div class="blinking1">
Blinking Effect
</div>
<div class="blinking2">
Blinking Effect
</div>
</body>
</html>
]
You can copy this HTML file. and paste it into your HTML file. Now you will learn it clearly. and don't forget to save the file with an extension. HTML. This extension is more important for creating a website page.
CSS file
[
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
background-color: #262626FF;
height: 100vh;
width: 100%;
justify-content: center;
align-items: center;
}
.blinking1{
position: relative;
flex: 1;
text-align: center;
color: black;
font-size: 70px;
font-family: sans-serif;
font-weight: bolder;
}
.blinking1:hover{
cursor: pointer;
animation: blink 2s linear infinite;
}
.blinking2{
position: relative;
flex: 1;
text-align: center;
color: #4CFF00FF;
font-size: 70px;
font-family: sans-serif;
font-weight: bolder;
}
.blinking2:hover{
cursor: pointer;
animation: blink 2s linear infinite;
}
@keyframes blink{
0%{
text-shadow: 1px 1px 10px #4CFF00FF,
0px 0px 20px #4CFF00FF,
0px 0px 40px #4CFF00FF;
}
50%{
text-shadow: 1px 1px 10px #4CFF00FF,
0px 0px 20px #4CFF00FF,
0px 0px 40px #4CFF00FF;
}
}
]
Secondly, you can copy this CSS file. and paste it into your CSS file. and remember the file extension called. CSS. This will you help to design your webpage. If you want more clarity on this topic you can watch my video tutorial and If you have any doubts ask me in the comment section.
Video Tutorial
Watch this video fully for your knowledge and repeat the code for your practice and you will learn better. This video is only 5 minutes. So you can realize how CSS easy is to learn. I hope this tutorial will help learn the water effect for beginners. I will give you Source Code and you can download it.
COMMENTS