A div, fixed to the head changes its color according to the bottom color as it moves.

I want a logo fixed at the top to make a judgment based on the color at the bottom

May.22,2021

the troublesome way is to monitor the scrolling distance, calculate the current scrolling position, get the background color, and calculate
. Another trick is to use css backdrop-filter

.
Menu