So stellen Sie das Box mit HTML und CSS in ein anderes Box ein

#first {
    width: 100px;
    height: 100px;
    background: red;
}
#first #second{
    width: 50%;
    height: 50%;
    background: green;
}
Frightened Fly