How to create dock type toolbar at the bottom of the page?

后端 未结 2 1287
耶瑟儿~
耶瑟儿~ 2021-02-04 19:28

like in http://www.online-photoshoptutorials.com/2008/08/folding-corners.html

相关标签:
2条回答
  • 2021-02-04 19:41
    <div id="toolbar" style="position: fixed; bottom: 0px; left: 0px; width: 100%; color: #fff; background: #000;">
    Toolbar Content 
    <!-- rest of your toolbar stuff here -->
    </div>
    

    That will create a div with a black background that remains at the bottom of the screen, regardless of browser resizing or scrolling. You can then style that div however you like.

    0 讨论(0)
  • 2021-02-04 19:46

    you use the css directive for positioning

    position: fixed;
    

    more details and tinkering for the positioning

    0 讨论(0)
提交回复
热议问题