Recently i had occasion to create a minimal interactive kiosk device using a Raspberry Pi and the official 7" touch display.
The way i satisfied my requirements was to boot a minimal Raspbian directly into full-screen Chromium displaying a specific web-page. Since the kiosk would be displaying timely information i needed it to update at regular and frequent intervals.
The simplest way to achieve this is using the
<meta http-equiv="Refresh" content="10">tag for a refresh every ten seconds.
This, however, caused an unanticipated problem: sometimes the reload would happen slowly enough that there would be a perceptible and annoying flicker of white screen before the background was changed to dark.
After a few failed attempts i settled on this most simple solution: change the style tag to