In less, is there a parameter that can directly set all class? that begins with xx?

now there is a less

  .has-error{
    .ant-form-explain{
      color: @error-color !important
    }
    .ant-select-selection{
      border-color: @error-color !important;
    }
    .ant-input {
      border-color: @error-color !important;
    }
    .ant-input-number {
      border-color: @error-color !important;
    }
    
  }

is there any way to set the class? at the beginning of all ant under .has-error
or pass in parameters such as form-explain select-selection . You don"t have to copy it every time.

Mar.07,2021

.ant-{
    &form-explain{}
    &select-selection{}
}

use & to connect

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2af03-2ba3b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2af03-2ba3b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?