3 respuestas
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