Recommended class
How do I make an recommended class?
What is a recommended class? How do you make a recommended class? This script and codes were developed by Kevin on 13 October 2022, Thursday.
Recommended class - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>recommended class</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.6/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="box"> <div class="container"><h2>stuff</h2></div>
<div class="container "><h2>stuff</h2></div>
<div class="container"><h2>stuff</h2></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>
Recommended class - Script Codes CSS Codes
body { margin: 0 auto;
}
.box { display: -webkit-box; display: -ms-flexbox; display: flex;
}
.container { border: 3px solid black; margin: 2em auto; height: 400px; width: 400px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
}
.container h2 { padding: 2em;
}
.mcix-recommended { border: 3px solid green; -webkit-transition-property: border; transition-property: border; -webkit-transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53); transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53); -webkit-transition-duration: .2s; transition-duration: .2s; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
}
.mcix-recommended h4 { text-align: center; background: green; color: white; font-size: 16px; margin: 0 auto; padding: .2em; overflow: hidden; position: absolute; opacity: 0;
}
.mcix-recommended h4:before,
.mcix-recommended h4:after { content: 'star'; color: yellow; padding: 0 .2em;
}
Recommended class - Script Codes JS Codes
var $container = $('.container'), $rec = $('.mcix-recommended > h4');
$container.on("click", function() { $container.removeClass('mcix-recommended'); $('.container > h4').remove(); $(this).addClass("mcix-recommended").append('<h4>RECOMMENDED</h4>').fadeIn('slow'); $('.container > h4').css('opacity', 1);
});
Developer | Kevin |
Username | gnarfugh |
Uploaded | October 13, 2022 |
Rating | 3 |
Size | 2,640 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 |
Mess svg logo | 2,249 Kb |
Flex dropdown nav | 3,962 Kb |
Image slider | 3,393 Kb |
Google Maps api | 2,795 Kb |
Ajax Flickr Search | 7,084 Kb |
A Pen by kevin | 3,018 Kb |
Hover icon link over image | 2,915 Kb |
Slider | 5,806 Kb |
Columns flex medicare | 3,195 Kb |
Small fizzbuzz | 1,412 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 |
Pink expansion tunnel | Vez | 1,738 Kb |
Image Stack Test SCSS | CalvinMorett | 2,799 Kb |
Twitch JSON API | Jvhti | 2,808 Kb |
Mario | Takaneichinose | 3,902 Kb |
CSS Bot Confusion | Jpod | 3,456 Kb |
TinFoil Boats | Chandralil | 4,577 Kb |
Background-blend-mode Test | 0x04 | 4,744 Kb |
Drag in vanilla js using dotval math instead of translate | Paulq | 2,662 Kb |
PNotify Demo | Adittmar | 1,731 Kb |
CSS3 Form | Tusharbandal | 1,836 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!