![]() I’ve written before on how much I dislike user agent sniffing. In Chrome, the full height is the height between the top and bottom of the screen, whether the address bar is visible or not. In Firefox, when the address bar is visible, the full height ( 100vh in CSS) is the height between the address bar and the bottom of the screen.) When the address bar is hidden, the full height is the height between the top and bottom of the screen. ![]() ![]() (This is actually just like Cover2’s implementation of its own navbar.) The browsers treat the screen height differently, though. ![]() It was brought to my attention that in Chrome on Android that this was not the case.īoth Firefox and Chrome on Android do this thing where as you scroll down, the browser’s address bar slides up until you scroll back up, and then it comes into view again. Since Cover2 is a responsive theme, I try to make sure that it looks good across browsers and screen sizes. By using min-height, I was able to ensure that long titles would simply push the height to larger than 100% if they needed to.) (I had originally used height, but I found that long titles would get cut off on small screens, like on phones and tablets. ![]() Enter fullscreen mode Exit fullscreen mode ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |