A Pen by Simeon Simeonoff
How do I make an a pen by simeon simeonoff?
What is a a pen by simeon simeonoff? How do you make a a pen by simeon simeonoff? This script and codes were developed by Simeon Simeonoff on 17 September 2022, Saturday.
A Pen by Simeon Simeonoff - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Simeon Simeonoff</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="button" onclick="switchBox()">Apply Active</div>
<div class="wrapper"> <div class="box one active">Box 1</div> <div class="box two">Box 2</div> <div class="box three">Box 3</div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
A Pen by Simeon Simeonoff - Script Codes CSS Codes
body { font-family: 'Arial', sans-serif;
}
.button { display: inline-block; padding: 8px; border: 2px solid lightblue; border-radius: 4px; color: #444; cursor: pointer; -webkit-transition: background .15s ease-out; transition: background .15s ease-out; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
.button:hover { background: lightblue; color: #FFF;
}
.box { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 300px; height: 100px; background: #FFF; margin: 8px 0; border: 2px solid lightblue; border-radius: 4px; -webkit-transition: all .15s ease-in-out; transition: all .15s ease-in-out;
}
.box.active { background: lightblue; color: #FFF;
}
A Pen by Simeon Simeonoff - Script Codes JS Codes
let box = 0;
function switchBox() { const boxes = document.querySelectorAll('.box'); // get all boxes let iter = activateBox(box, boxes); // create itarator to go over boxes boxes.forEach(el => el.classList.remove('active')); iter.next(box++).value.classList.add('active'); // add active class to the next box in line if (box === boxes.length) box = 0; // reset counter if last box reached
}
function* activateBox(i, boxes) { yield boxes[i];
}
Developer | Simeon Simeonoff |
Username | simeonoff |
Uploaded | September 17, 2022 |
Rating | 3 |
Size | 2,602 Kb |
Views | 38,456 |
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 |
Grid Layout | 2,845 Kb |
Material Design Calendar | 4,021 Kb |
Notification Animation | 2,603 Kb |
Notification Animation - Bounce Blur | 2,664 Kb |
Material Switches | 2,691 Kb |
Flexbox SASS Grid | 4,135 Kb |
Bouncy Switch | 2,830 Kb |
Material Radio Buttons | 2,938 Kb |
Avatar | 2,309 Kb |
Toggle Buttons | 2,666 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 |
Drifting Clouds | Benedikte | 2,247 Kb |
Subtle site navigation with description | Necks | 3,206 Kb |
RWD Conversion Practice | Jxqr97 | 2,743 Kb |
Cars going | Netoguimaraes | 1,699 Kb |
Random Gradients - JS | Aldlevine | 2,026 Kb |
A Pen by Jason Kinney | Jason-kinney | 1,980 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Ionic - Wordpress REST API starter | Superpikar | 2,961 Kb |
Google Maps API Ground Overlay | Boycetrus | 2,961 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!