When using “Viewport Height/vh” in CSS does it include the “browser bookmark bar” in the total?
问题 In Chrome, the bookmarks bar is disabled with command+shift+b. Should I always be testing sites with this disabled for the browser to truly be "100%"? Or does having this enabled actually make the "vh 95%" for example? 回答1: vh uses the size of the viewport. So if you have the bookmarks bar open, then your viewport height is going to be smaller. Would be similar to just resizing your window and make the height smaller. https://www.w3.org/TR/css-values-3/#viewport-relative-lengths The viewport