"Parallax Login Form"
Bootstrap 3.0.3 Snippet by msurguy

<script src="http://mymaplist.com/js/vendor/TweenLite.min.js"></script> <!-- This is a very simple parallax effect achieved by simple CSS 3 multiple backgrounds, made by http://twitter.com/msurguy --> <div class="container"> <div class="row vertical-offset-100"> <div class="col-md-4 col-md-offset-4"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title">Please sign in</h3> </div> <div class="panel-body"> <form accept-charset="UTF-8" role="form"> <fieldset> <div class="form-group"> <input class="form-control" placeholder="E-mail" name="email" type="text"> </div> <div class="form-group"> <input class="form-control" placeholder="Password" name="password" type="password" value=""> </div> <div class="checkbox"> <label> <input name="remember" type="checkbox" value="Remember Me"> Remember Me </label> </div> <input class="btn btn-lg btn-success btn-block" type="submit" value="Login"> </fieldset> </form> </div> </div> </div> </div> </div>
body{ background: url(http://mymaplist.com/img/parallax/back.png); background-color: #444; background: url(http://mymaplist.com/img/parallax/pinlayer2.png),url(http://mymaplist.com/img/parallax/pinlayer1.png),url(http://mymaplist.com/img/parallax/back.png); } .vertical-offset-100{ padding-top:100px; }
$(document).ready(function(){ $(document).mousemove(function(e){ TweenLite.to($('body'), .5, { css: { backgroundPosition: ""+ parseInt(event.pageX/8) + "px "+parseInt(event.pageY/'12')+"px, "+parseInt(event.pageX/'15')+"px "+parseInt(event.pageY/'15')+"px, "+parseInt(event.pageX/'30')+"px "+parseInt(event.pageY/'30')+"px" } }); }); });

Similar snippets: See More


Comments:

Ankhi 2014-01-17 22:55:30
    (y)
Milan Rawal 2014-01-18 02:42:33
    superb!!!
webmagisters 2014-01-18 17:27:13
    Nice job, dude!
maxsurguy 2014-01-18 17:37:27
    Thanks!
Kanuni Sulayman 2014-01-19 04:51:01
    crafted by a professional! (Y)
Tim 2014-01-19 22:33:52
    Creative mind! very nice
Yoza Wiratama 2014-01-20 15:01:25
    nice, really thanks
Safry 2014-01-21 07:30:51
    excellent work
Pratik Shah 2014-01-21 08:53:36
    As usual great one Max!How did you create that flip effect of this form in mymaplist .
maxsurguy 2014-01-21 20:03:53
    I bought a CSS/JS script on envato but you can see this one that I created that is almost as good: http://codepen.io/msurguy/p...
Kraymer 2014-01-21 22:47:55
    Really NICE!
Wiki Chua 2014-01-22 01:26:29
    @maxsurguy:disqus hey man, great job. however, i have issue on Firefox. anyone else having same thing?
Jason.H 2014-01-22 03:24:03
    great work ! btw , i think it's better if offered with more background image choice .
maxsurguy 2014-01-22 07:28:06
    what do you think would be a good choice?
Rodrigo Cordeiro 2016-03-12 07:30:04
    Hey max! Awesome job. But is there a way that allows me to pick whatever image I want? Thank you!
Ameenullah 2014-01-27 17:43:22
    awesome man! thanks sharing!
Mico 2014-01-28 03:19:36
    dont work in firefox
Z 2014-02-01 22:19:47
    It works for me FF 26.0. How is it not working, how does it behave?
Giancarlo Ventura Granados 2014-01-28 16:14:21
    Hummmm.... Firefox... T_T
DEE 2014-02-13 13:54:41
    Tested in FF 26 and FF 27.0 and it doesn't Work :/
Jose 2014-05-13 12:44:18
    Hello, thanks for the script. To me started to work on all browsers with the following change:
maxsurguy 2014-05-18 03:32:26
    Thank you! I have updated the snippet with your fix, hopefully it will work in all browsers now :)
Hadi 2014-10-01 19:57:59
    Didn't worked with Firefox 32.0.3.
Aesha Bhavsar 2014-11-29 17:06:25
    how can i use this in asp.net c#?
Pedja 2015-03-04 08:05:24
    Images from http://mymaplist.com site are not accessible any more ?
Alfredo Ponce Zarate 2015-03-08 19:57:57
    Images from http://mymaplist.com site are not accessible any more
Alfredo Ponce Zarate 2015-03-11 01:35:47
    Images from http://mymaplist.com site are not accessible any more
_j 2015-05-08 17:26:20
    Thank you. the most beautiful login form
Amaad 2015-06-03 07:50:17
    how to make this background images without jQuery ... is it possible with angular custom directive to do this ??? plz reply me ???
kir 2016-06-10 00:00:44
    dont work at all
image not found
Razqa Lathif 2016-08-24 01:13:57
    how to download this script ?
bbb 2016-12-21 03:43:18
    why dont work in firefox?

Commenting will be back soon.