<input type="text" onfocus="this.value='+7'" >
background-repeat: no-repeat;
background-size: cover;
postion:absolute;
postion:releative;
top: 50%;
left:50%;
transform: translate(50%,-50%);
display:block;
.block:hover {
background: #333;
}
.block:hover > img {
display:block;
}