Expanding panels onmouseover
How do I make an expanding panels onmouseover?
What is a expanding panels onmouseover? How do you make a expanding panels onmouseover? This script and codes were developed by Ex HTML on 15 September 2022, Thursday.
Expanding panels onmouseover - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Expanding panels onmouseover</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> <div class="box"> <div class="half left"> <p>Fru</p> </div> <div class="half right"> <p>Frucor</p> </div>
</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>
Expanding panels onmouseover - Script Codes CSS Codes
.box { width: 70%; height: 200px; margin: 20px auto; background-color: lightgray; overflow: hidden;
}
.half { width: 50%; height: 100%; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
}
.half > p { background-color: orange; padding: 1rem; color: #fff; -webkit-transform: translateY(-20px); transform: translateY(-20px); opacity: 0; -webkit-transition: all 0.2s ease-in-out 0.2s; transition: all 0.2s ease-in-out 0.2s;
}
.half:hover { width: 75%;
}
.half:hover > p { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1;
}
.half.disabled { width: 25%;
}
.left { float: left; background-color: coral;
}
.right { float: right; background-color: cyan;
}
Expanding panels onmouseover - Script Codes JS Codes
$('.left').on('mouseover', function(){ $(this).next().addClass('disabled'); $(this).removeClass('disabled');
});
$('.right').on('mouseover', function(){ $(this).prev().addClass('disabled'); $(this).removeClass('disabled');
});
$('.box').on('mouseout', function(){ $('.half').removeClass('disabled');
});
Developer | Ex HTML |
Username | exhtml |
Uploaded | September 15, 2022 |
Rating | 3 |
Size | 2,342 Kb |
Views | 28,336 |
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 |
Parallax tests | 2,238 Kb |
A Pen by Ex HTML | 1,497 Kb |
Reversed Scroll | 2,572 Kb |
Intramurs Typo | 2,065 Kb |
Boxed Layout | 2,160 Kb |
What The Flexbox | 2,320 Kb |
Pure css tabs | 3,289 Kb |
Slides-10-1 BACKGROUND | 1,581 Kb |
Smooth Scroll | 1,567 Kb |
Slides-06-1 DISPLAY | 1,598 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 |
Shopping cart | Andiio | 6,581 Kb |
Product item | Mymahesh11 | 2,256 Kb |
Tree growth tests | Orchard | 3,818 Kb |
3d css cube | Semenchenko | 4,578 Kb |
About Us | Francescaedits | 1,902 Kb |
TestTube CSS | EZPK | 2,710 Kb |
FreeCodeCamp - Simon Game | Ivhed | 8,481 Kb |
Growing Root - Scroll control - CANVAS | Cjonasw | 2,342 Kb |
JQuery exercise | Brian-baum | 3,780 Kb |
Responsive Pricing Table | Jeremycaris | 2,690 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!