html { height: 100%; } canvas { display: flex; } h1 { margin-top: 70px; } body { margin-left: 20%; margin-right: 20%; } .myBtn { width:50px; height:25px; margin: 5px; } #resultContainer { visibility: hidden; display: inline; } #objectList { margin-top: 20px; visibility: hidden; display:flex; flex-wrap: wrap; flex-direction: row; justify-content: center; } .container { display: flex; justify-content: space-between; } .image-container { flex: 1; margin-right: 20px; } #myDiv { display: flex !important; justify-content: center !important; padding-bottom: 100px; margin-bottom: 100px; } img { max-width: 100%; height: auto; } ul { list-style-type: none; padding-left: 0; } li { margin-bottom: 5px; } /* creating css loader */ #loading { margin: auto; margin-top: 50px; width: 2rem; height: 2rem; border: 5px solid #f3f3f3; border-top: 6px solid #9c41f2; border-radius: 100%; animation: spin 1s infinite linear; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }