body { font-family: 'lato', sans-serif; } .container { max-width: 1000px; margin-left: auto; margin-right: auto; padding-left: 10px; padding-right: 10px; } h2 { font-size: 26px; margin: 20px 0; text-align: center; } li { border-radius: 3px; padding: 25px 30px; display: flex; justify-content: space-between; margin-bottom: 25px; } .table-entete { background-color: #95A5A6; font-size: 14px; text-transform: uppercase; letter-spacing: 0.03em; } .table-ligne { background-color: #ffffff; box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.1); } .nom { flex-basis: 40%; } .etat { flex-basis: 30%; } .commande { flex-basis: 30%; } .no_inter { text-align: center; flex-basis: 100%; } @media all and (max-width: 767px) { .table-entete { display: none; } .table-ligne { } li { display: block; } .col { flex-basis: 100%; } .col { display: flex; padding: 10px 0; &:before { color: #6C7A89; padding-right: 10px; content: attr(data-label); flex-basis: 50%; text-align: right; } } }