Medium-esque

Size
2,185 Kb
Views
20,240

How do I make an medium-esque?

Blur on scroll. What is a medium-esque? How do you make a medium-esque? This script and codes were developed by Jerusha Johnson on 22 October 2022, Saturday.

Medium-esque Previews

Medium-esque - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Medium-esque</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <section class="blur-img"> <div></div> <div class='blur'> <div></div> </div>
</section>
<div class="container-fluid headline"> <h1>This is an Awesome Cat.</h1>
</div>
<section class="body-copy">
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Medium-esque - Script Codes CSS Codes

.blur-img { position: relative; width: 100%; height: 440px; z-index: -1; top: 0; left: 0;
}
.blur-img>div { position: fixed; width: 100%; height: 440px; top:0; background-image: url('http://www.mrwallpaper.com/wallpapers/cute-cat-sleeping.jpg'); background-repeat: no-repeat; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; background-position: center center;
}
.blur { opacity: 0; top:0; background-image: url('http://www.mrwallpaper.com/wallpapers/cute-cat-sleeping.jpg'); -webkit-filter: blur(10px); -moz-filter: blur(10px); filter: blur(10px);
}
.blur>div{ position: fixed; top: -10px; left: 0; right: 0; height: 440px; background: rgba(100,100,100,0.4);
}
.headline{ position: absolute; top: 0; left: 0; right: 0; height: 440px;
}
.headline h1{ font-weight: 200; font-size:3.5em; color: white; text-shadow: 0 0 10px rgba(10,10,10,0.7); margin: 0; line-height: 440px; text-align: center;
}
.body-copy{ position: absolute; top: 440px; left: 0; right: 0; height: 2000px; background:white;
}

Medium-esque - Script Codes JS Codes

(function() { $(window).scroll(function() { var oVal; oVal = $(window).scrollTop() / 200; return $(".blur").css("opacity", oVal); });
}).call(this);
Medium-esque - Script Codes
Medium-esque - Script Codes
Home Page Home
Developer Jerusha Johnson
Username bonzaipenguin
Uploaded October 22, 2022
Rating 3
Size 2,185 Kb
Views 20,240
Do you need developer help for Medium-esque?

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!

Jerusha Johnson (bonzaipenguin) Script Codes
Create amazing video scripts 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!