JSFiddle - React, Tailwind, and code Playground

by JonVisc

HTML

<div class="overlay-element" style="position: absolute; top: 50px; left: 50px; width: 200px; height: 100px; opacity: 1; z-index: 1;"><div style="background-color: rgb(0, 0, 255); font-family: Helvetica-Bold; color: rgb(0, 255, 0); font-size: 1em; text-align: center; border: 2px solid rgb(153, 153, 153); width: 100%; height: 100%; opacity: 1; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; -webkit-transform: translate(0%, 0%);" class="SM-Overlay SM-Overlay-Button"><span id="render_button3_label" contenteditable="true">Sample Button Text</span></div></div>

CSS

/* source/Overlays/Overlay.css */

.SM-Overlay {
    position: absolute;
}

/* Content Driven Styles */
.SM-Overlay.SMStyle-Hidden {
    visibility: hidden;
}

.SM-Overlay.SMStyle-Transparent {
    background-color: transparent !important;
}

/* source/Overlays/Bounding/Unrendered.css */

.SM-Overlay-Bounding-Unrendered {
    font-family: 'Trebuchet MS';
    font-size: 1em !important;
}

.SM-Overlay-Bounding-Unrendered h1 {
    font-size: 0.9em !important;
    font-family: 'Trebuchet MS';
    text-align: center;
    margin: 2px;
    padding: 2px;
}

.SM-Overlay-Bounding-Unrendered p {
    font-size: 0.7em !important;
    font-family: 'Trebuchet MS';
    text-align: center;
    margin: 2px;
    padding: 2px;
}

/* source/Overlays/Bounding/Unsupported.css */

.SM-Overlay-Bounding-Unsupported {
    font-family: 'Trebuchet MS';
    font-size: 1em !important;
}

.SM-Overlay-Bounding-Unsupported h1 {
    font-size: 0.9em !important;
    font-family: 'Trebuchet MS';
    text-align: center;
    margin: 2px;
    padding: 2px;
}

.SM-Overlay-Bounding-Unsupported p {
    font-size: 0.7em !important;
    font-family: 'Trebuchet MS';
    text-align: center;
    margin: 2px;
    padding: 2px;
}

/* source/Overlays/Button/Button.css */

.SM-Overlay-Button {
    height: 40px;
    position: absolute;
    line-height: 0;
    text-align: center;
    overflow: hidden;
    border: 0px solid transparent;
}

.SM-Overlay-Button span {
    position: relative;
    top: 50%;
    height: 1em;
}

/* source/Overlays/ContentBox/Container.css */

.SM-Overlay-ContentBox-Container {
	overflow: scroll;
}

.SM-Overlay-ContentBox-Container > div {
	width: 100%;
	height: 100%;
}

/* source/Overlays/ContentBox/FlowContainer.css */

.SM-Overlay-ContentBox-FlowContainer .SM-Overlay-ContentBox-Component-Content > div {
	float: left;
	position: relative;
	top: auto !important;
	left: auto !important;
	transform: translate(0, 0) !important;
	-ms-transform: translate(0, 0) !important;
	-webkit-transform:...