JSFiddle - React, Tailwind, and code Playground

by lindychen

HTML

<div class="elementor-element elementor-element-9d48d70 elementor-button-align-stretch elementor-widget elementor-widget-form" data-id="9d48d70" data-element_type="widget" id="checkouts_boxs1" data-widget_type="form.default">

  <button type="submit" class="elementor-button elementor-size-sm">
    <span>
      <span class=" elementor-button-icon">
      </span>
      <span class="elementor-button-text">Place order</span>
    </span>
  </button>
</div>

CSS

button.elementor-button.elementor-size-sm {
  hyphens: manual;
  margin: 0;
  overflow: visible;
  text-transform: none;
  width: auto;
  -webkit-appearance: button;
  white-space: nowrap;
  user-select: none;
  box-sizing: border-box;
  display: inline-block;
  line-height: 1;
  fill: #fff;
  text-align: center;
  transition: all .3s;
  cursor: pointer;
  border: 0;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 3px;
  font-family: "Roboto", Sans-serif;
  font-weight: 500;
  flex-basis: 100%;
  min-height: 40px;
  background-color: #000000;
  color: #ffffff;
  border-style: double;
  border-width: 7px 7px 7px 7px;
}

button.elementor-button.elementor-size-sm:hover {
  background-color: #ffffff;
  color: #000000;
}

JavaScript

var style = '<style>#checkouts_boxs1:hover{ background-color: #cc3633; color: #ffffff } #checkouts_boxs1 {background-color: rgba(204,54,51,0.86); #ffffff}</style>';

document.head.insertAdjacentHTML('beforeend', style);