Skip to main content
3 respuestas
  1. 17 abr 2023, 13:14

    Hi @Sita Ram Rawat

    You can use the predefined class in the Lightning card  component

    This is an HTML code:-

    <template>

      <lightning-card title="Card Title" class="card">

        <p class="card">Testing</p>

      </lightning-card>

    </template>

     

    And then apply CSS:-

    .card{

         padding: 10px;

    }

     

    Thank You

0/9000