HTML's Background Color and Overscroll
A quick web tip on overscroll background color.
Here’s a little tip if you’re working on a site whose header and footer are the same color.
click on the gifs to play, click again to stop
How to do this:
For me, I just sort of have forgotten about the html
element and how it can be styled. It’s not “game changing” but if it fits for your site it can make a designer’s day.
Here’s a gist with some example code.
Here’s a live version version of that example code.
Here are two examples of this for Dell and Moz.
Where does this work?
I tested this in the latest versions of Chrome, Safari, and Opera. Firefox and IE don’t do “overscroll”.