.dstable{ display:grid; grid-template-columns: 5% 95%; } .ds{ width: 100%; border: 1px solid #eaecf0; } .number{ width: 100%; border: 1px solid #eaecf0; } @media all and ( max-width: 720px ) { .dstable{ grid-template-columns: 100%; } }