.pcolor{ width: 100%; height: 100%; position: absolute; top:0; left: 0; z-index: -1; } .profile-color{ width: 100%; height: 100%; background-color: transparent; box-sizing: border-box; border: 5px solid; }