Play to Pause, material design style

Developer
Size
2,577 Kb
Views
26,312

How do I make an play to pause, material design style?

Play to pause button. What is a play to pause, material design style? How do you make a play to pause, material design style? This script and codes were developed by Chris on 21 August 2022, Sunday.

Play to Pause, material design style Previews

Play to Pause, material design style - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Play to Pause, material design style</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="button"> <div class="symbol "> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Play to Pause, material design style - Script Codes CSS Codes

body { background:#0099cc;
}
.button {	width: 100px;	height: 100px;	padding: 10px;	border: 1px solid #333;	border-radius:50%; background:black; box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.24);
}
.symbol {	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSItMjY1IDM4Ni45IDU0LjUgNjkiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgLTI2NSAzODYuOSA1NC41IDY5IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNLTI2NSwzODYuOWw1NC41LDM0LjVsLTU0LjUsMzQuNSIvPjwvc3ZnPg==);	background-position: 31px;	background-size: 50%;	background-repeat: no-repeat;	width: 100%;	height: 100%;
}
.symbol.anim {	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2OSIgdmlld0JveD0iMCAwIDE0IDE5Ij48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMCAwaDV2MTlIMHpNOSAwaDV2MTlIOXoiLz48L3N2Zz4=);	background-size: 50%;	background-position:center center;	background-repeat: no-repeat;	transform: rotate(360deg);	overflow:hidden;	width: 100px; height: 100px;	transition: all 300ms linear;
}
.anim:after {	content:" ";	display:block;	opacity:0;	border-radius: 100%;	background-color: #fff;	display: block;	animation: mymove 0.5s;	width: 200px; height: 200px;	}
/* Standard syntax */
@keyframes mymove { 0% {opacity: 0; width: 0px; height: 0px; margin:50px; }	50% {opacity: 0.5; width: 100px; height: 100px; margin:0px; } 100% {opacity: 0; width: 0px; height: 0px ;margin:50px ; }
}

Play to Pause, material design style - Script Codes JS Codes

$(document).ready(function() { var symbol = $(".symbol"); $(".symbol").on('click', function() { $(this).toggleClass('anim').delay(800) });
});
Play to Pause, material design style - Script Codes
Play to Pause, material design style - Script Codes
Home Page Home
Developer Chris
Username onlinechris
Uploaded August 21, 2022
Rating 3
Size 2,577 Kb
Views 26,312
Do you need developer help for Play to Pause, material design style?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Chris (onlinechris) Script Codes
Create amazing sales emails with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!