I want to have an div visible at the top of my page by default, however when you load the page a 3 second timer starts after which that div begins to fade out until it disappears. I have a few ideas about how to do this, but I'm not entirely sure:
- set transition of div in css to however long I want it to spend
fading out, and set background color/color to rgba values with 0 opacity
- Use setTimeout to create the 3 second timer at the beginning when the page loads
- I'm stuck...