0

I have been reading about the Chrome (android) update that auto scrolls the address bar to hide when the user scrolls past the fold. I want to hide the address bar altogether. How can I do this. I have tried every option I could find and still no luck.

I am currently using html code to create a demo that will be presented on the Galaxy S3. If I could just remove the addressbar, it would help the demo look like an actual app. Making the demo more realistic.

Any information is considered a great help.

4

1 回答 1

0

这是我实现它的方式:

            html{
                background-color: red;
                overflow: hidden;
                /* prevent overscroll bounce iOS & Android */
                position: fixed;
                height: 100%;
                width:100%;
            }
            body{
                background-color: lightgreen;
                overflow-y:scroll;
                -webkit-overflow-scrolling: touch; /* iOS velocity scrolling */
                /* prevent overscroll bounce iOS & Android */
                position:fixed;   
                height:100%;
                width:100%;                 
            }
于 2015-11-27T22:01:41.250 回答