A Pen by James Steinbach
How do I make an a pen by james steinbach?
What is a a pen by james steinbach? How do you make a a pen by james steinbach? This script and codes were developed by James Steinbach on 05 November 2022, Saturday.
A Pen by James Steinbach - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by James Steinbach</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <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> <div class="col"> <button class="toggle-bad">Show the box the bad way.</button> <p class="box bad">I don't move well.</p>
</div>
<div class="col"> <button class="toggle-good">Show the box the good way.</button> <p class="box good">I move nicely!</p>
</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>
A Pen by James Steinbach - Script Codes CSS Codes
* { box-sizing: border-box; text-align: center;
}
button { border: 1px solid #ccc; text-align: center; padding: 1em; background: none; box-shadow: none;
}
.col { display: inline-block; vertical-align: top; padding: 1em;
}
.box { display: none; line-height: 100px; background: #ccc; border: 1px solid #444; text-align: center; -webkit-transform: scale(0); transform: scale(0); opacity: 0; -webkit-transition: opacity .3s ease-in-out, -webkit-transform .3s ease-in-out; transition: opacity .3s ease-in-out, -webkit-transform .3s ease-in-out; transition: transform .3s ease-in-out, opacity .3s ease-in-out; transition: transform .3s ease-in-out, opacity .3s ease-in-out, -webkit-transform .3s ease-in-out;
}
.box.active { display: block; -webkit-transform: scale(1); transform: scale(1); opacity: 1;
}
.box.active.bad { display: block; -webkit-transform: scale(1); transform: scale(1); opacity: 1;
}
.box.active.good { -webkit-animation: anim .3s ease-in-out; animation: anim .3s ease-in-out;
}
@-webkit-keyframes anim { 0% { display: none; opacity: 0; } 1% { display: block; opacity: 0; -webkit-transform: scale(0); transform: scale(0); } 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
}
@keyframes anim { 0% { display: none; opacity: 0; } 1% { display: block; opacity: 0; -webkit-transform: scale(0); transform: scale(0); } 100% { opacity: 1; -webkit-transform: scale(1); transform: scale(1); }
}
A Pen by James Steinbach - Script Codes JS Codes
$('button').on('click', function(e){ e.preventDefault(); $(this).siblings('.box').toggleClass('active');
})
Developer | James Steinbach |
Username | jdsteinbach |
Uploaded | November 05, 2022 |
Rating | 3.5 |
Size | 2,612 Kb |
Views | 16,192 |
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!
Name | Size |
LOTR-ish Ring | 4,284 Kb |
CSS Variables | 4,759 Kb |
Content Blur under Fixed Header | 3,818 Kb |
Animated Form Focus | 2,968 Kb |
Slip-Scroll - No JS | 5,556 Kb |
Sphere Spin | 4,204 Kb |
Gradient Hover Effect | 2,212 Kb |
Testing Newer Width Values | 2,449 Kb |
Using a gradient for a border | 2,138 Kb |
Adding Shadow to SVG elements | 2,501 Kb |
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!
Name | Username | Size |
SlideupBoxes | Gavra | 23,772 Kb |
Fun form with currentColor | Bnthor | 2,713 Kb |
ASCII triangle image overlay | Mitchdot | 2,200 Kb |
Update CSS Variables with JS | Wesbos | 2,335 Kb |
SnappySnippet Test | Elmsoftware | 8,385 Kb |
Login-ng-modal | Heedoo | 3,566 Kb |
DFF Website | Hawcubite | 10,123 Kb |
Cool Page Split Effect | Anthonyadamski | 6,128 Kb |
React Markdown Previewer | C0d0er | 3,190 Kb |
Nice responsive team page | Infomiho | 3,139 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!