Malek's profile picture

Published by


Category: SpaceHey

Random Background Image

Hey all, I just want to share how to get a random background image. I like it simple. Thats why my profile is all in black and white. And that was the reason why my background was the standard grey.

Until today. I had the idea to dynamically load a random background image instead of a fixed defined one. My research led me to Lorem Picsum

Here an example image for the resolution 3840 x 2160:

If you want to try it on your profile just use this css code: 

body {
background-image: url("");
background-size: cover;}

31 Kudos


Displaying 0 of 0 comments ( View all | Add Comment )