Image Zoom On Scroll - Very Simple jQuery Tutorial - Css Image Effect

preview_player
Показать описание
Image Zoom On Scroll - Very Simple jQuery Tutorial - Css Image Effect
SOURCE CODE :1 COMMENT

......learn and subscribe.......

Please like, share and comment on this video, aslo subscribe channel to watch more videos on Website development / #WebDevelopment / Website Design / Web design
-----------------------------------------------------
Watch more videos from my channel:
1.Pure CSS Parallax Scrolling | No JavaScript | HTML & CSS

2.//How To Create A Website Using HTML And CSS Step By Step Website Tutorial/

3.Pure CSS Circular Progress Bar | Html& CSS ONLY

6.//GALLERY IN HTML AND CSS ONLY//

7.//How To Create A Website Using HTML And CSS Step By Step Website Tutorial/

8.//Animated Login Form Using Only HTML & CSS//

9.//NAvigation Bar Design In Html

10.//Simple HTML Form Design//

11.Navigation Hover Effect

12.//button hover effect//Html and Css

13.//Text Animation//HTML CSS

14.Navigation Hover Effect

#html
#css
#DEVELOPERTOOLS

Music :
Song: Warrio - Mortals (feat. Laura Brehm) [NCS Release]
Music provided by NoCopyrightSounds.
Рекомендации по теме
Комментарии
Автор

body{
margin: 0;
padding: 0;
}
section{
width: 100%;
height: 400vh;
overflow: hidden;
position: relative;
}
section img{
width: 100%;
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%);
}

developertools
Автор

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">

<script type="text/javascript">

$(window).scroll(function(){

var scroll = $(window).scrollTop();
$(".zoom img").css({
width:(100+ scroll/5)+"%"
})

})

</script>


</head>
<body>
<section class="zoom">

<img src="phot.webp" alt="bike image">
<h1>just see the zoom effect</h1>
</section>
<section></section>
</body>
</html>

developertools
welcome to shbcf.ru