Glowing Pulse Form

Developer
Size
2,542 Kb
Views
38,456

How do I make an glowing pulse form?

A simple, centered form with a pulsing glow effect on the input during focus.This was an entry for a WebDesign Tuts post here: http://webdesign.tutsplus.com/articles/workshops/community-project-style-a-simple-search-form/. What is a glowing pulse form? How do you make a glowing pulse form? This script and codes were developed by Jack Rugile on 11 August 2022, Thursday.

Glowing Pulse Form Previews

Glowing Pulse Form - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Glowing Pulse Form</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <section class="webdesigntuts-workshop">	<form action="" method="">	<input type="search" placeholder="What are you looking for?">	<button>Search</button>	</form>
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Glowing Pulse Form - Script Codes CSS Codes

@import url(http://fonts.googleapis.com/css?family=Cabin:400);
.webdesigntuts-workshop {	background: #151515;	height: 100%;	position: absolute;	text-align: center;	width: 100%;
}
.webdesigntuts-workshop:before,
.webdesigntuts-workshop:after {	content: '';	display: block;	height: 1px;	left: 50%;	margin: 0 0 0 -400px;	position: absolute;	width: 800px;
}
.webdesigntuts-workshop:before {	background: #444;	background: -webkit-linear-gradient(left, #151515, #444, #151515);	background: linear-gradient(left, #151515, #444, #151515);	top: 192px;
}
.webdesigntuts-workshop:after {	background: #000;	background: -webkit-linear-gradient(left, #151515, #000, #151515);	background: linear-gradient(left, #151515, #000, #151515);	top: 191px;
}
.webdesigntuts-workshop form {	background: #111;	background: -webkit-linear-gradient(#1b1b1b, #111);	background: linear-gradient(#1b1b1b, #111);	border: 1px solid #000;	border-radius: 5px;	box-shadow: inset 0 0 0 1px #272727;	display: inline-block;	font-size: 0px;	margin: 150px auto 0;	padding: 20px;	position: relative;	z-index: 1;
}
.webdesigntuts-workshop input {	background: #222;	background: -webkit-linear-gradient(#333, #222);	background: linear-gradient(#333, #222);	border: 1px solid #444;	border-radius: 5px 0 0 5px;	box-shadow: 0 2px 0 #000;	color: #888;	display: block;	float: left;	font-family: 'Cabin', helvetica, arial, sans-serif;	font-size: 13px;	font-weight: 400;	height: 40px;	margin: 0;	padding: 0 10px;	text-shadow: 0 -1px 0 #000;	width: 200px;
}
.ie .webdesigntuts-workshop input {	line-height: 40px;
}
.webdesigntuts-workshop input::-webkit-input-placeholder { color: #888;
}
.webdesigntuts-workshop input:-moz-placeholder { color: #888;
}
.webdesigntuts-workshop input:focus {	-webkit-animation: glow 800ms ease-out infinite alternate; animation: glow 800ms ease-out infinite alternate;	background: #222922;	background: -webkit-linear-gradient(#333933, #222922);	background: linear-gradient(#333933, #222922);	border-color: #393;	box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000;	color: #efe;	outline: none;
}
.webdesigntuts-workshop input:focus::-webkit-input-placeholder {	color: #efe;
}
.webdesigntuts-workshop input:focus:-moz-placeholder {	color: #efe;
}
.webdesigntuts-workshop button {	background: #222;	background: -webkit-linear-gradient(#333, #222);	background: linear-gradient(#333, #222);	box-sizing: content-box;	border: 1px solid #444;	border-left-color: #000;	border-radius: 0 5px 5px 0;	box-shadow: 0 2px 0 #000;	color: #fff;	display: block;	float: left;	font-family: 'Cabin', helvetica, arial, sans-serif;	font-size: 13px;	font-weight: 400;	height: 40px;	line-height: 40px;	margin: 0;	padding: 0;	position: relative;	text-shadow: 0 -1px 0 #000;	width: 80px;
}
.webdesigntuts-workshop button:hover,
.webdesigntuts-workshop button:focus {	background: #292929;	background: -webkit-linear-gradient(#393939, #292929);	background: linear-gradient(#393939, #292929);	color: #5f5;	outline: none;
}
.webdesigntuts-workshop button:active {	background: #292929;	background: -webkit-linear-gradient(#393939, #292929);	background: linear-gradient(#393939, #292929);	box-shadow: 0 1px 0 #000, inset 1px 0 1px #222;	top: 1px;
}
@-webkit-keyframes glow { 0% {	border-color: #393;	box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000; } 100% {	border-color: #6f6;	box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000; }
}
@keyframes glow { 0% {	border-color: #393;	box-shadow: 0 0 5px rgba(0,255,0,.2), inset 0 0 5px rgba(0,255,0,.1), 0 2px 0 #000; } 100% {	border-color: #6f6;	box-shadow: 0 0 20px rgba(0,255,0,.6), inset 0 0 10px rgba(0,255,0,.4), 0 2px 0 #000; }
}
Glowing Pulse Form - Script Codes
Glowing Pulse Form - Script Codes
Home Page Home
Developer Jack Rugile
Username jackrugile
Uploaded August 11, 2022
Rating 4.5
Size 2,542 Kb
Views 38,456
Do you need developer help for Glowing Pulse Form?

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!

Jack Rugile (jackrugile) Script Codes
Create amazing blog posts 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!