Button pusher

Developer
Size
2,220 Kb
Views
44,528

How do I make an button pusher?

A very simple button without fancy anything except a simple but very usable push effect.. What is a button pusher? How do you make a button pusher? This script and codes were developed by Tommie Hansen on 22 August 2022, Monday.

Button pusher Previews

Button pusher - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Button pusher</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ /* The stuff */
.btn { transition: transform .07s ease; }
.btn:active { transform: scale(0.95); }
/* Unrelated styling */
body { background:#f0f0f0; font-family:arial,helvetica;font-size:16px; }
#c { width:300px; height:100px; position:absolute; top:50%; left:50%; padding-top:50px; transform: translateX(-50%) translateY(-50%); text-align:center; background:#fafafa; border:1px solid #eee; border-right-color:#ddd; border-bottom-color:#ddd;
}
.btn { padding:15px 40px; background:#fff; border:1px solid #03A9F4; color:#03A9F4; border-radius:2px; transform:translateZ(0); outline:0;
}
.btn:hover { background:#03A9F4; color:#fff;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div id="c"> <button class="btn">Push me</button>
</div>
</body>
</html>

Button pusher - Script Codes CSS Codes

/* The stuff */
.btn { transition: transform .07s ease; }
.btn:active { transform: scale(0.95); }
/* Unrelated styling */
body { background:#f0f0f0; font-family:arial,helvetica;font-size:16px; }
#c { width:300px; height:100px; position:absolute; top:50%; left:50%; padding-top:50px; transform: translateX(-50%) translateY(-50%); text-align:center; background:#fafafa; border:1px solid #eee; border-right-color:#ddd; border-bottom-color:#ddd;
}
.btn { padding:15px 40px; background:#fff; border:1px solid #03A9F4; color:#03A9F4; border-radius:2px; transform:translateZ(0); outline:0;
}
.btn:hover { background:#03A9F4; color:#fff;
}
Button pusher - Script Codes
Button pusher - Script Codes
Home Page Home
Developer Tommie Hansen
Username tommiehansen
Uploaded August 22, 2022
Rating 3
Size 2,220 Kb
Views 44,528
Do you need developer help for Button pusher?

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!

Tommie Hansen (tommiehansen) Script Codes
Create amazing marketing copy 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!