Weird float rendering in Chrome when using media queries
Looks like a Chrome issue that's been out there for a while.
https://bugs.webkit.org/show_bug.cgi?id=53166
Another Stacker with the same issue.
Webkit float and display
Media Queries acting funny in Chrome/Safari
If you'll add css float: left;
to #forms #email
everything will be fine.
You can test it here: http://jsfiddle.net/witchfinderx/qwnXT/1/
Media query layout issue with scroll bar in chrome
I think Chrome enters into infinite loop here. After you go just a tad below 500px he removes vertical scrollbar, but right after he removes scrollbar window width is back above 500px and he applies CSS for that width which in turn again needs vertical scrollbar and we are again at the same place where we started... so infinite loop.
Basically Chrome just protects itself from infinite loop by leaving the space that the vertical scrollbar was using.
As far as I can see you can either remove the scrollbar completely i.e. overflow:hidden on body (but I guess that's not much help for 99% of websites), or leave it on at all times on body with overflow-y:scroll.
EDIT:
Maybe you could try removing scrollbar on body tag, but encapsulate all content in one div with overflow-y:scroll. Even though div is as wide as body, it seems to work this way, no glitches in my test. This would require setting up this div to be 100% height of the screen which could be though.
Media queries and percentage width causes strange IMG shrinking behaviour on webkit browsers
Ha!, that is a funny effect. To fix it, use max-width
rather than width
:
@media (max-width: 679px) {
img.retina-zoom { max-width:75%; }
}
Edit: Note this doesn't happen in the latest Webkit Nightly so perhaps it's a bug that's been fixed.
Related Topics
Create a Loop Using SCSS to Change Background Images with CSS3 Animate
How to Target Chrome Only, Not All Webkit Powered Browsers
CSS Column-Count Not Respected
CSS Select Second Level Elements
CSS: Is Transition: Left/Top Gpu Accelerated
How to Make a Div Disappear on Hover Without It Flickering When The Mouse Moves
Select All Block Level Elements with CSS
CSS: Not(), Selectors and Selecting Descendants
Cannot Stretch Svg Background Image, Aspect Ratio Will Be Preserved
Text-Shadow and Box-Shadow While Printing (Chrome)
CSS Change Border Color on Hover
:After,: Before Issues in Internet Explorer 11
Ie 11 Ignores Min-Width When Using Flex Width
Repeat Dots in Less/Sass for Content Property
Why Isn't -Moz-Animation Working
Flexbox Does Not Work in Safari, Striked Out in Web Inspector