Fix without media query
See original GitHub issuebody {
height: 100vh;
}
should be fixed to
body {
height: 100vh;
height: -webkit-fill-available;
}
-webkit-fill-available
is automatically ignored by browsers that don’t understand it.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:8
Top Results From Across the Web
Build your Responsive website without media query
Build your Responsive website without media query · flex & flex-wrap · auto-fit & minmax · Controlling the number of items · Controlling...
Read more >Flexible layouts without media queries - LogRocket Blog
The problem with media queries is that they don't play well with design systems, as components within said systems usually are defined with...
Read more >Responsive Layouts, Fewer Media Queries | CSS-Tricks
Let's first take a look at some widely used methods to build responsive layouts without media queries. No surprises here — these methods...
Read more >Responsive Layouts Without Media Queries! | by Jason Knight
Responsive Layouts Without Media Queries! A friend of mine used to joke that. HTML is already responsive. Designers are the ones screwing ...
Read more >How to make responsive layouts without using CSS media ...
Learn the 24 patterns to solve any coding interview question without getting ... How to make responsive layouts without using media queries has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kripod It renders correctly in Chrome on my simple demo page: https://output.jsbin.com/noqasek/quiet.
But there is a problem in the new Firefox. The footer is behind the URL bar:
It causes issues in Chrome: https://allthingssmitty.com/2020/05/11/css-fix-for-100vh-in-mobile-webkit/#comment-4910262284