A Pen by Austin Wulf
How do I make an a pen by austin wulf?
What is a a pen by austin wulf? How do you make a a pen by austin wulf? This script and codes were developed by Austin Wulf on 11 July 2022, Monday.
A Pen by Austin Wulf - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Austin Wulf</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! */ .test1, .test2, .test3 { list-style: none; padding: 1em; width: 400px;
}
.test1:nth-child(even), .test2:nth-child(even), .test3:nth-child(even) { background: gray;
}
.test3 { background: #000; color: red;
}
.shown { font-size: 2em;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="filters"> <input type="checkbox" id="test1" /><label for="test1">test 1</label> <input type="checkbox" id="test2" /><label for="test2">test 2</label> <input type="checkbox" id="test3" /><label for="test3">test 3</label> <p id="output"></p>
</div>
<ul> <li class="test1">Test1</li> <li class="test2">test2</li> <li class="test1">test1</li> <li class="test2">test2</li> <li class="test1">test1</li> <li class="test2">test2</li> <li class="test3">test3</li> <li class="test3">test3</li> <li class="test3">test3</li> <li class="test3">test3</li>
</ul> <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 Austin Wulf - Script Codes CSS Codes
.test1, .test2, .test3 { list-style: none; padding: 1em; width: 400px;
}
.test1:nth-child(even), .test2:nth-child(even), .test3:nth-child(even) { background: gray;
}
.test3 { background: #000; color: red;
}
.shown { font-size: 2em;
}
A Pen by Austin Wulf - Script Codes JS Codes
// First, grab any checkbox that says it's a filter
var $checkbox = $('.filters input');
if ( $checkbox ) { $output = $('#output'); // If filters exist, watch them for state change $checkbox.change(function(){ // Check if this interaction was checking or unchecking var $checked = $(this).is(':checked'), $filters; // Grab all list items and the ID of // the changed checkbox var $items = $('li'); // Reset the visibility of all list items $items.slideDown(); // get filtered term $id = $(this).attr('id'); // filter items with this term $items.each(function(){ if ( $checked ) { if ( $(this).hasClass($id) ) $(this).slideDown().addClass('shown'); if ( ! $(this).hasClass($id) ) $(this).slideUp(); } else { if ( $(this).hasClass($id) ) $(this).slideUp().removeClass('shown'); if ( ! $(this).hasClass($id) && ! $(this).hasClass('shown') ) $(this).slideDown(); } }); if ( $('.filters input:checked').length < 1 ) { $items.slideDown(); } if ( $('.filters input:checked').length >= 1 ) { $('.shown').slideDown(); $('li:not(.shown)').slideUp(); } if ( $('.filters input:checked').length == $('.filters input').length ) { $('.filters input:checked').removeAttr('checked'); $items.slideDown().removeClass('shown'); } });
}
Developer | Austin Wulf |
Username | atwulf |
Uploaded | July 11, 2022 |
Rating | 3 |
Size | 2,743 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 |
Styling Native Select Inputs | 2,466 Kb |
CSS3 SVG Animation | 6,465 Kb |
Hiding Sticky Navigation | 4,622 Kb |
Animation Play with cubic-bezier | 2,531 Kb |
Chord Name Translator | 3,388 Kb |
Sassy Breadcrumbs | 3,096 Kb |
Functional DOM Manipulation | 5,581 Kb |
Dynamic Contact Form | 4,315 Kb |
Simple Custom Select Box | 5,854 Kb |
Testing Flexbox Grid Stuff | 2,071 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 |
Canvas Orbital Trails v2 | Jackrugile | 3,421 Kb |
Multi-step GSAP animation | Acacheung | 2,668 Kb |
Experiments with Vertical Centering | KatieK2 | 3,924 Kb |
Canvas stripes | Adrianparr | 1,948 Kb |
Em Test | Rodesco | 1,784 Kb |
Headroom.js demo | WickyNilliams | 3,982 Kb |
Roman Numerical Converter | Vhall_io | 2,102 Kb |
Fullscreen audio play button | 72 | 2,148 Kb |
JQuery AJAX reddit Exercise | Btholt | 1,777 Kb |
Sign Up Form | Sicontis | 5,272 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!