JSFiddle - React, Tailwind, and code Playground

HTML

<div class="metabox-holder" id="dd-custom-branding-metabox">
							<h3>Set colour, height and border</h3>
		
		<div class="single-option">
			<label for="header_background_colour">Background colour -</label>
			<input type="text" value="#C60845" name="branding[header_background_colour]" class="colour-picker" id="header_background_colour" autocomplete="off" style="background-image: none; background-color: rgb(198, 8, 69); color: rgb(255, 255, 255);">
		</div>
		
		<div class="single-option">
			<label for="header_height">Height -</label>
			<span class="ui-spinner ui-widget ui-widget-content ui-corner-all"><input type="text" value="32px" name="branding[header_height]" class="small inline-spinner ui-spinner-input" id="header_height" aria-valuenow="32" autocomplete="off" role="spinbutton"><a class="ui-spinner-button ui-spinner-up ui-corner-tr ui-button ui-widget ui-state-default ui-button-text-only" tabindex="-1" role="button" aria-disabled="false"><span class="ui-button-text"><span class="ui-icon ui-icon-triangle-1-n">▲</span></span></a><a class="ui-spinner-button ui-spinner-down ui-corner-br ui-button ui-widget ui-state-default ui-button-text-only" tabindex="-1" role="button" aria-disabled="false"><span class="ui-button-text"><span class="ui-icon ui-icon-triangle-1-s">▼</span></span></a></span>
			<div class="tips">
				<span class="tip"><span class="title">Tip:</span> Values can be between 0px and 99px</span>
			</div>
		</div>
		
		<div class="single-option">
			<label for="header_border_bottom_width">Border bottom width -</label>
			<span class="ui-spinner ui-widget ui-widget-content ui-corner-all"><input type="text" value="2px" name="branding[header_border_bottom_width]" class="small inline-spinner ui-spinner-input" id="header_border_bottom_width" aria-valuenow="2" autocomplete="off" role="spinbutton"><a class="ui-spinner-button ui-spinner-up ui-corner-tr ui-button ui-widget ui-state-default ui-button-text-only" tabindex="-1" role="button"...

CSS

#dd-custom-branding-metabox h3{
    border-bottom: 1px solid #000000;
	font-style: italic;
	font-weight: bold;
	margin: 7px 0 17px 0;
	padding: 0 0 2px 0;
}

#dd-custom-branding-metabox .single-option{
	margin-bottom: 10px;
}

#dd-custom-branding-metabox .single-option label{
	display: inline-block;
	font-size: 13px;
    font-weight: bold;
	text-align: right;
	width: 135px;
}
#dd-custom-branding-metabox .single-option label.for-textarea{
	display: block;
	margin-left: 3px;
}
#dd-custom-branding-metabox .single-option label.for-checkbox{
	display: inline;
}

#dd-custom-branding-metabox .single-option input[type="text"]{
	margin-left: 10px;
}
#dd-custom-branding-metabox .single-option input[type="checkbox"]{
	margin-right: 10px;
}
#dd-custom-branding-metabox .single-option input[type="text"].small{
	width: 53px;
}
#dd-custom-branding-metabox .single-option input[type="text"].tiny{
	width: 36px;
}
#dd-custom-branding-metabox .single-option textarea{
	width: 400px;
	height: 92px;
}
#dd-custom-branding-metabox .single-option select{
	margin-left: 10px;
	width: 128px;
}
#dd-custom-branding-metabox div.tips{
	display: inline-block;
	margin-left: 10px;
	vertical-align: middle;
}
#dd-custom-branding-metabox span.tip{
	display: block;
	font-style: italic;
}
#dd-custom-branding-metabox span.tip span.title{
	font-weight: bold;
}

#dd-custom-branding-metabox .ui-spinner{
	height: 21px;
	margin-left: 10px;
}
#dd-custom-branding-metabox .ui-spinner .inline-spinner{
	border: 0;
	height: 21px;
	margin: 0 !important;
	padding: 3px 3px 4px 3px;
}

#dd-custom-branding-metabox .ui-spinner-topbottom{
	height: 39px;
}
#dd-custom-branding-metabox .ui-spinner-topbottom .block-spinner{
	border: 0;
	height: 18px;
	margin: 10px 0 !important;
	padding: 0 3px;
	text-align: center;
}
#dd-custom-branding-metabox .ui-spinner-topbottom .ui-spinner-button{
   height: 10px;
   left: 0px;
   width: 100%;
} 
#dd-custom-branding-metabox .ui-spinner-topbottom a.ui-spinner-button{
   border: none;
}...