A PHP library which gives a new look to hrefs
Add the CSS file to your project -
<link rel="stylesheet" type="text/css" href="css/hyperstyles.css">
Add the HTML default empty <div>
card layout to your project -
<div id="url-card" class="tooltipcard">
<img id="url-image" src="" class="tooltipcard-image">
<div class="tooltipcard-body">
<h5 id="url-title" class="tooltipcard-title"></h5>
<p id="url-description" class="tooltipcard-text"></p>
</div>
</div>
Add the jQuery and JS files to your project before </body>
-
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="js/hyperscript.js"></script>
Add the PHP file to your project and update the url path in hyperscript.js
on line 7 -
url: 'js/hyperscript.php',