Page 416 - Webapplication11_C11_Flipbook
P. 416

/* The image used */
                     background-image: url("beach.jpeg");



                     /* Set a specific height */
                     min-height: 550px;



                     /* Create the parallax scrolling effect */
                     background-attachment: fixed;
                     background-position: center;
                     background-repeat: no-repeat;
                     background-size: cover;

                   }
                   </style>
                   </head>

                   <body>
                   <p>Scroll Up and Down this page to see the parallax scrolling effect.</p>
                   <div class="parallax"></div>
                   <div style="height:1000px;background-color:pink;font-size:20px">
                   <font color=blue>

                   Larry Page and Sergey Brin formally established the Google firm in 1998 to
                   promote  Google  Search,  which  has  grown  to  be  the  most  popular  web-based
                   search engine. A search algorithm, formerly known as "BackRub," was created
                   in 1996 by Stanford University students Page and Brin.</font>
                   </div></body></html>
                   Output:



































                414   Touchpad Web Applications-XI
   411   412   413   414   415   416   417   418   419   420   421