GitHub 6956★

Have you seen CSS Scan?

The fastest and easiest way to check, copy and edit CSS.

Learn more →

CSS Scan logo

Full background


<div class="full-background">...</div>


.full-background {
/* Center the content */
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;

/* Take full size */
height: 100vh;
width: 100%;

/* Background */
background: url('/assets/full-background.jpeg') center center / cover no-repeat;
Follow me on and to get more useful contents.