Blog-Home

This blog is for everybody that loves technology

Video Play Button Effect in HTML CSS

video play button effect in html and css

Video Play Button Effect in HTML and CSS

In this article, I am going to tell you how you can create a very beautiful Video Play Button Effect in HTML and CSS with simple steps. you just need to write a simple code of text to create this HTML Video Play Button Effect in HTML and CSS. We will use in this code HTML and simple internal CSS.

first of all, you have to create a folder, where you want to create a save file of code and then drag it or open it on your text editor, after that, you have to save this file by giving any name with the extension name .html.

after saved this file, you just write a simple structure of HTML and create content and follow the code which is given below.


Queries Solved:-

html,css,html css,html tutorial,html css tutorial,css tutorial,html5,html and css,learn html,html tutorial for beginners,html5 tutorial,html course,html for beginners,html and css tutorial,html and css projects,html 5,html crash course,html css ,html css,html css 2021,2021 html css,tuto html css,html css,html css ,html css с нуля,cours html css,html css,  html,html с ,html css, html,css,html css project,html css,how to make a website using html and css,html and css,html css project ideas,css tutorial,html css website project,html and css projects for beginners,html css javascript project,html5,html tutorial,html css website design tutorial,html css projects,css project,responsive website html css,how to create a website using html and css,html and css projects,html css projects in urdu,website using html and css



<!DOCTYPE html>
<html>
<head>
<title>button</title>
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
<style type="text/css">
*
{
padding: 0;
margin: 0;
}
body
{
width: 100%;
height: 100vh;
background: #222;
display: flex;
align-items: center;
justify-content: center;
}
.video
{
width: 800px;
height: 450px;
background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),url(https://images.pexels.com/photos/697244/pexels-photo-697244.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
background-size: cover;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
}
.play-btn
{
display: flex;
align-items: center;
justify-content: center;
background: #f60;
color: #fff;
font-size: 50px;
width: 100px;
height: 100px;
z-index: 2;
border-radius: 100%;
position: relative;
}
.play-btn:before
{
content: '';
position: absolute;
border:15px solid #fff;
border-radius: 50%;
top: -20px;
left: -20px;
right: -20px;
bottom: -20px;
animation: bloom1 1.5s linear infinite;
opacity: 0;
z-index: 1;
}
.play-btn:after
{
content: '';
position: absolute;
border:15px solid #fff;
border-radius: 50%;
top: -20px;
left: -20px;
right: -20px;
bottom: -20px;
animation: bloom2 1.5s linear infinite;
opacity: 0;
animation-delay: .4s;
z-index: 1;
}
@keyframes bloom1
{
0%
{
transform: scale(.5);
}
50%
{
opacity: 1;
}
100%
{
transform: scale(1.5);
}
}
@keyframes bloom2
{
0%
{
transform: scale(.5);
}
50%
{
opacity: 1;
}
100%
{
transform: scale(1.5);
}
}
</style>
</head>
<body>
<div class="video">
<div class="play-btn">
<ion-icon name="play"></ion-icon>
</div>
</div>
</body>
</html>



 

Here we completed our tutorial.

If you face any problem please feel free to contact us.

If you like our article please share it with your friends and relatives.

Thanks for reading our article.

MOVED DOTTED DUST PARTICLE TEXT IN HTML BY BLOTTER JS || CSS EFFECT

How to download Microsoft office for free in 2021



Queries Solved:-

html,css,html css,html tutorial,html css tutorial,css tutorial,html5,html and css,learn html,html tutorial for beginners,html5 tutorial,html course,html for beginners,html and css tutorial,html and css projects,html 5,html crash course,html css ,html css,html css 2021,2021 html css,tuto html css,html css,html css ,html css с нуля,cours html css,html css,  html,html с ,html css, html,css,html css project,html css,how to make a website using html and css,html and css,html css project ideas,css tutorial,html css website project,html and css projects for beginners,html css javascript project,html5,html tutorial,html css website design tutorial,html css projects,css project,responsive website html css,how to create a website using html and css,html and css projects,html css projects in urdu,website using html and css,Video Play Button Effect

 

Leave a Comment

Your email address will not be published. Required fields are marked *

WE CREATES WEBSITES

LEARN WEBSITE DESIGNING COURSE
ONLINE

We will teach you html5, css3, photoshop, bootstrap, media query, wordpress, sql, php.

Sandeep Gahlot
My Recent Posts
Scroll to Top