Code: Select all
<!--
Author: W3layouts
Author URL: http://w3layouts.com
-->
<!DOCTYPE html>
<html lang="zxx">
<head>
<title>Fog error Responsive Widget Template :: W3layouts</title>
<!-- Meta tag Keywords -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8" />
<meta name="keywords"
content="Fog error web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<!-- //Meta tag Keywords -->
<!-- google fonts -->
<link href="https://fonts.googleapis.com/css?family=Work+Sans:400,700&display=swap" rel="stylesheet">
<!-- //google fonts -->
<!--/Style-CSS -->
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<!--//Style-CSS -->
<!--/fontAwesome-CSS -->
<link rel="stylesheet" href="css/fontAwesome.css" type="text/css" media="all" />
<!--/fontAwesome-CSS -->
</head>
<body>
<div class="w3l-error-block">
<div class="page">
<div class="content">
<div class="logo">
<!-- if logo is image enable this
<a class="brand-logo" href="index.html">Fog Error</a>
-->
<a class="brand-logo" href="#index.html">
<img src="image.PNG" alt="Your logo" title="Your logo" style="height:35px;" />
</a>
</div>
<div class="w3l-error-grid">
<h1>404</h1>
<h2>Page not found</h2>
<p>I tried to catch some fog, but i missed it</p>
<a href="index.html" class="home">Back to Home</a>
</div>
<div class="copy-right text-center">
<p>© 2020 Fog error. All rights reserved | Design by
<a href="http://w3layouts.com/" target="_blank">W3layouts</a></p>
</div>
</div>
<img src="images/bg.jpg" class="img-responsive" alt="error image" />
</div>
<script src="js/jquery-3.3.1.min.js"></script>
<script>
var lFollowX = 0,
lFollowY = 0,
x = 0,
y = 0,
friction = 1 / 30;
function animate() {
x += (lFollowX - x) * friction;
y += (lFollowY - y) * friction;
translate = 'translate(' + x + 'px, ' + y + 'px) scale(1.1)';
$('img').css({
'-webit-transform': translate,
'-moz-transform': translate,
'transform': translate
});
window.requestAnimationFrame(animate);
}
$(window).on('mousemove click', function (e) {
var lMouseX = Math.max(-100, Math.min(100, $(window).width() / 2 - e.clientX));
var lMouseY = Math.max(-100, Math.min(100, $(window).height() / 2 - e.clientY));
lFollowX = (20 * lMouseX) / 100; // 100 : 12 = lMouxeX : lFollow
lFollowY = (10 * lMouseY) / 100;
});
animate();
</script>
</div>
</body>
</html>
iditeaza "image.PNG" cu ce ai tu, ai grija daca este intr-un folder, specifica calea "folder/image.png", daca este in public_html, nu mai trebuie specificata calea
Dupa ce editezi, incearca un CTRL + F5 pentru a reincarca toate resursele site-ului