How do I add a custom CSS class to a Standard form editor in HubSpot?

I am not able to override the original CSS in the “standard form editor”. It’s not a legacy form.
Below is the form code,

<script src=“https://js.hsforms.net/forms/embed/502973.js” defer></script>

<div class=“hs-form-frame” data-region=“na1” data-form-id=“3b41cfa2-ece1-42b5-8e01-0e6092562eee” data-portal-id=“502973”></div>

Hey @KParmar,

short answer(unfortunately): It’s currently not possible.

A workaround is to wrap the .hs-form-frame div in a wrapping div like

<script src="https://js.hsforms.net/forms/embed/502973.js" defer></script>
<div class="myClass">
<div class="hs-form-frame" data-region="na1" data-form-id="3b41cfa2-ece1-42b5-8e01-0e6092562eee" data-portal-id="502973"></div>
</div>

and go from there like

.myClass form{
some form styles
}

.myClass form input{
...
}

...

best,

Anton

The form is directly shown in the iframe, so CSS and JS do not work on it. Kindly give me other option