Parallax Scrolling Effect || HTML, CSS, jQuery

Parallax Scrolling Effect || HTML, CSS, jQuery

Reinis Berzins

9 лет назад

29,240 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@christopherchong2466
@christopherchong2466 - 13.07.2017 10:47

Does this work on mobile?

Ответить
@tseriess8995
@tseriess8995 - 24.06.2017 15:00

hey you did great buddy :) but audio quality is little poor
thanks man

Ответить
@mjk744
@mjk744 - 18.06.2017 14:49

I'm happy I found your tutorials :) !!! Great stuff to learn ! More please :)

Ответить
@hollowface2798
@hollowface2798 - 02.06.2017 12:36

what a fcking good man, good job (y)..

Ответить
@VE3DAL
@VE3DAL - 23.05.2017 00:03

You were the first parallax tutorial that works for me! thank you very much.

Ответить
@bicycle_boi
@bicycle_boi - 27.04.2017 14:34

thanks a lot man. This ended a week long headache and anxiety, really appreciate it.

Ответить
@fernandosoaressouza6046
@fernandosoaressouza6046 - 15.04.2017 02:09

Very cool man! The best parallax tutorial I have found, very simple to understand! But I'm having a litle trouble with the background image. It seems that after making the jquery to work, the body takes some space from the top of the image making it smaller. What can I do to fix the problem ? Thanks!

Ответить
@trinanjansaha756
@trinanjansaha756 - 11.01.2017 05:09

Thanks for the video. i have a similar content repeating in my section .but scrolltop is taking whole height of the body .so bottom section hides. can i trigger scrolltop for everysection and reset it to 0 after each section?

Ответить
@Indranilgslv
@Indranilgslv - 12.11.2016 00:02

its awsome sir and btr if u explain the math (how its works in details). thank u . nice share.

Ответить
@vitorbarbosa18
@vitorbarbosa18 - 30.09.2016 13:19

Thanks a lot mate!!

Ответить
@4988raja
@4988raja - 12.08.2016 06:54

hey, how come u r typing css and html codes all in the same page? does it work that way?

Ответить
@mquanit
@mquanit - 28.07.2016 15:09

it is not responsive...what should i do???

Ответить
@Jonathan138A
@Jonathan138A - 10.07.2016 21:29

My jQuery isn't working. I've included the same things you did in the video but for some reason it's not doing the function. I'm super new with jQuery, any suggestions?

Ответить
@PiveLaGames
@PiveLaGames - 06.07.2016 11:26

its laggy :/ even with your code :/

Ответить
@TyoBaskara
@TyoBaskara - 05.07.2016 11:35

loved it !! thankss..

Ответить
@manav8289
@manav8289 - 21.05.2016 23:46

I consider myself a CSS expert and I still found this useful. Great job!

Ответить
@MesRi001
@MesRi001 - 20.05.2016 00:37

This tutorial was very useful.

Ответить
@ibrahimicgili4254
@ibrahimicgili4254 - 15.05.2016 02:58

how can i parallax effect on text?

Ответить
@thaneros
@thaneros - 23.04.2016 22:12

Why is this style a trend? It looks cool though

Ответить
@ahgottired
@ahgottired - 07.03.2016 14:48

works great.. Thanks!

Ответить
@h0uy
@h0uy - 22.02.2016 20:42

Thank you

Ответить
@Manacheli
@Manacheli - 05.02.2016 18:08

I cannot seem to get the jQuery part to work. I first tried placing it in a seperate file and linked to it in my html code, but it did not work. Then tried doing this the exact same way as you did by using script tags, but then again it failed to work as it should. What am I doing wrong? I did include the googleapis library (latest version)

Ответить
@rohanparkar2593
@rohanparkar2593 - 03.02.2016 21:49

its not working for me....
background image is not visible..what could be the problem??i tried lot many times

Ответить
@billgilmore8063
@billgilmore8063 - 12.11.2015 18:45

Thanks man, awesome tutorial. One question, how do I centre the background image?
I'm using this in a responsive site and the image is left aligned when the site is scaled down for smaller displays.

I used CSS - background-position: center; - but im guessing the jQuery - parallaxBg.css('background-position', '0 ' + -currScrollPos/4 + 'px'); - over writes that.

So I tried CSS - background: url(images/web-site.jpg) center; - but no joy. Any ideas? Obviously full wide screen the image is centered like in your video.
Again awesome tutorial thank you!

Ответить
@CesarPerez74
@CesarPerez74 - 01.10.2015 07:56

Hi, I just added this property  background-repeat: no-repeat;  to .parallax-bg because the picture was colliding when the project was opened on the cell phone.  Thanks,

Ответить
@ReinisBerzinsArt
@ReinisBerzinsArt - 26.07.2015 23:52

Happy to help :)

Ответить
@AhmedSC
@AhmedSC - 26.07.2015 23:44

Thank you teacher

Ответить