ul,li{ list-style: none; padding: 0; margin: 0; } .details-part{ margin-top: 15px; } .details-part.details-part-title{ margin-bottom: 18px; font-weight: 600; } .details-part.details-part-container{ padding-left: 1em; padding-bottom: 10px; } .details-part.details-part-container li{ display: flex; font-size: 14px; line-height: 1.2; padding: 2px 0; color: #000000; font-weight: normal; } .details-part.details-part-container li.item-key{ flex: 0 0 150px; } @media screen and (max-width: 768px){ .details-part.details-part-container li{ font-size: 12px; } .details-part.details-part-container li.item-key{ flex: 0 0 100px; } }  Details   Occasion  Casual    Category  Tops    Composition  20% Elastane, 80% Cotton    Sheer  Not Sheer    Fabric  Milk Shreds      Size & Fit   Measured in size S    Lengt Bustier Bodysuit, Boho Geometric, Sheer Fabric, List Style, Printed Ties, Knitted Tank Top, Body Size, Sheer Fabrics, Knit Tanks