JSFiddle - React, Tailwind, and code Playground

by mparvez1986

HTML

<div class="call-to-action call-to-action--final">

  <input type="submit" name="complete" value="Complete order" class="btn btn--primary" data-submit-payment="true">
</div>

CSS

.call-to-action:after, .call-to-action:before
{
content: "";
    display: table;
}

.change:after{
content:none !important;
}
.change:before{
content:none !important;
}

JavaScript

$(".call-to-action").addClass('change');