Link Icon Effect

Developer
Size
3,599 Kb
Views
18,216

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 Previews

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">&times</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)
});
Link Icon Effect - Script Codes
Link Icon Effect - Script Codes
Home Page Home
Developer Stepan Soroka
Username uppermanis
Uploaded November 06, 2022
Rating 3
Size 3,599 Kb
Views 18,216
Do you need developer help for Link Icon Effect?

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!

Stepan Soroka (uppermanis) Script Codes
Create amazing Facebook ads with AI!

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!