To change this
To this for smaller screens
Add these style rules:
@media all and (max-width: 575px) {
  thead {
    display: none;
  }
  td {
    display: grid;
    grid-template-columns: 12ch auto;
    &:first-child {
      margin-top: 1rem;
    }
    &:last-child {
      margin-bottom: 1rem;
    }
  }
  /* Row Headings */
  #f1Drivers {
    td {
      &::before {
        display: inline;
        font-weight: bold;
      }
      &:nth-child(1)::before {
        content: "Racing #";
      }
      &:nth-child(2)::before {
        content: "First Name: ";
      }
      &:nth-child(3)::before {
        content: "Last Name: ";
      }
      &:nth-child(4)::before {
        content: "Nationality: ";
      }
      &:nth-child(5)::before {
        content: "DOB: ";
      }
    }
  }
}
Where f1Drivers is the ID given to the <table> element for specificity.
Note: This is nested CSS as supported by all major browsers. As of Wappler v7, this will also be supported in Wappler's Design view.


