Professional Documents
Culture Documents
Body, HTML (-WPS Office
Body, HTML (-WPS Office
height: 100%;
*{
box-sizing: border-box;
.bg-image {
background-image: url("photographer.jpg");
filter: blur(8px);
-webkit-filter: blur(8px);
/* Full height */
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/* Position text in the middle of the page/image */
.bg-text {
color: white;
font-weight: bold;
position: absolute;
top: 50%;
left: 50%;
z-index: 2;
width: 80%;
padding: 20px;
text-align: center;