.box1 {
    width:500px;
    height:300px;
    background-color:gray;
    color:white;
    position:absolute;
    right: 0px;
    bottom: 0px;
    
    
    
    
}
.box2 {
    width:100px;
    height:100px;
    background-color:black;
    color:white;
    
    
}


.locate {
    position:absolute;
    right: 0px;
    top: 0px;
    
}

.locate2 {
    position:absolute;
    left: 0px;
    bottom: 0px;
    
}