Link Icon Effect
How do I make an link icon effect?
What is a link icon effect? How do you make a link icon effect? This script and codes were developed by Stepan Soroka on 06 November 2022, Sunday.
Link Icon Effect - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Link Icon Effect</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.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! */ html, body { height: 100%;
}
body { background-color: #aaa;
}
.link-box { opacity: 1; transition: 0.5s; justify-content: center; align-items: center; cursor: pointer; width: 90px; height: 90px; position: relative; display: table; margin: 70px auto;
}
.fa-unlink { opacity: 0; transform: translate(50%, 50%) scale(0.4);
}
.link-box:hover > .fa-box > .fa-link { opacity: 0; transform: translate(50%, 50%) scale(0.3);
}
.link-box:hover > .fa-box > .fa-unlink { opacity: 1; transform: translate(50%, 50%) scale(1.2);
}
.link-box a { text-transform: uppercase; font-size: 25px; font-weight: 900; font-family: sans-serif; text-decoration: none; text-align: center; display: table; margin: auto; color: #ececec; letter-spacing: 3px;
}
.fa-box { display: table; margin-top: 5px;
}
.infox:hover { border-bottom: solid 5px #2E2D2D;
}
.infox:hover > .hide { color: #2E2D2D;
}
.hide { transition: 0.4s; color: #848484; font-size: 50px; margin-bottom: 20px;
}
.infox { padding: 40px; border-bottom: solid 5px transparent; cursor: pointer; transition: 0.4s; opacity: 0; position: relative; margin: auto; width: 600px; text-align: center; color: #ececec; font-size: 20px; font-family: sans-serif; font-weight: 600; display: table; margin-top: 3%;
}
.link-box i { color: #efefef; font-size: 50px; position: absolute; transition: 0.4s; transform: translate(50%, 50%) scale(1);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="link-box"> <a href="#">link</a> <div class="fa-box"> <i class="fa fa-link"></i> <i class="fa fa-unlink"></i> </div>
</div>
<div class="infox"><div class="hide">×</div>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis provident dolorem eius nisi reiciendis nemo ex sed consectetur delectus. Nam aut facilis neque ullam maiores odio consequuntur illo ad molestiae.</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>
Link Icon Effect - Script Codes CSS Codes
html, body { height: 100%;
}
body { background-color: #aaa;
}
.link-box { opacity: 1; transition: 0.5s; justify-content: center; align-items: center; cursor: pointer; width: 90px; height: 90px; position: relative; display: table; margin: 70px auto;
}
.fa-unlink { opacity: 0; transform: translate(50%, 50%) scale(0.4);
}
.link-box:hover > .fa-box > .fa-link { opacity: 0; transform: translate(50%, 50%) scale(0.3);
}
.link-box:hover > .fa-box > .fa-unlink { opacity: 1; transform: translate(50%, 50%) scale(1.2);
}
.link-box a { text-transform: uppercase; font-size: 25px; font-weight: 900; font-family: sans-serif; text-decoration: none; text-align: center; display: table; margin: auto; color: #ececec; letter-spacing: 3px;
}
.fa-box { display: table; margin-top: 5px;
}
.infox:hover { border-bottom: solid 5px #2E2D2D;
}
.infox:hover > .hide { color: #2E2D2D;
}
.hide { transition: 0.4s; color: #848484; font-size: 50px; margin-bottom: 20px;
}
.infox { padding: 40px; border-bottom: solid 5px transparent; cursor: pointer; transition: 0.4s; opacity: 0; position: relative; margin: auto; width: 600px; text-align: center; color: #ececec; font-size: 20px; font-family: sans-serif; font-weight: 600; display: table; margin-top: 3%;
}
.link-box i { color: #efefef; font-size: 50px; position: absolute; transition: 0.4s; transform: translate(50%, 50%) scale(1);
}
Link Icon Effect - Script Codes JS Codes
$(".link-box").click(function() { $(this).css("opacity", "0"); setTimeout(function() { $(".link-box").css("display", "none") $(".infox").css("opacity", "1"); }, 300)
});
$(".infox").click(function() { $(this).css("opacity", "0"); setTimeout(function() { //$(".infox").css("opacity", "0") $(".link-box").css("display", "table"); setTimeout(function() { $(".link-box").css("opacity", "1"); }, 300); }, 300)
});
Developer | Stepan Soroka |
Username | uppermanis |
Uploaded | November 06, 2022 |
Rating | 3 |
Size | 3,599 Kb |
Views | 18,216 |
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 |
Modal Window | 3,409 Kb |
Animate transform rotate | 2,903 Kb |
A Pen by Stepan Soroka | 2,539 Kb |
Input effects | 3,316 Kb |
Parallax.js | 5,920 Kb |
Hover Overlay Rolling top | 2,568 Kb |
Order elements using flex | 2,921 Kb |
React.js News List | 4,729 Kb |
Anmiate SVG Border | 3,040 Kb |
Popup from one element | 4,568 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 |
A Pen by Moeid Saleem | Moeidsaleem | 1,862 Kb |
Navier Stoke Fluid Simulation | Esimov | 8,584 Kb |
Infractions - Attitude | Kylie_Joseph | 7,672 Kb |
Border image | JohnRiordan | 2,120 Kb |
About Mazano | Kiti | 2,585 Kb |
AngularJS Skills | Supro | 3,312 Kb |
Hello People | Danburrows | 2,365 Kb |
CSS3 Diamond | Rendro | 1,960 Kb |
Rainbow Drops | Csbarnes | 2,365 Kb |
Front in Aracaju Logo Pure CSS | Shankarcabus | 2,581 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!