JSFiddle - React, Tailwind, and code Playground

by rami7250

HTML

<div class="code-block code-block-67" style="margin: 8px 0; clear: both;">
<div style="border: 1px solid #007db3; border-radius: 3px; background: #ffffff; color: #000; margin-top: 30px;">
  <div style="color: #fff; display: inline; background: #00a8f2; padding: 10px; border: 1px solid #007db3; border-bottom-right-radius: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; margin-left: -1px;">
    <img src="https://image.flaticon.com/icons/svg/1632/1632592.svg" alt="tip" style="width: 20px; height:20px; vertical-align: middle;"> 
    <strong style="font-size: 18px; vertical-align: middle;">Still having issues? Fix them with this tool: </strong>
  </div>
  <div style="padding: 1rem; line-height: 1.6;">
  <p style="margin: 0; font-size: 17px;">
    This software will repair common computer errors, protect you from file loss,
    malware, hardware failure and optimize your PC for maximum performance. Fix
    PC issues and remove viruses now in 3 easy steps:
  </p>
    <div>
      <ol style="font-size: 17px;margin-bottom:0;">
        <li>
          <strong><a href="https://www.restoro.com/includes/route.php?tracking=Gures&amp;exec=run&amp;banner=WR_bottom_EN&amp;adgroup=https://windowsreport.com/computer-motherboard-serial-number-windows-10/" rel="nofollow">Download this PC Repair Tool</a></strong>
          rated <i>Great</i> on TrustPilot.com.
        </li>
        <li>
          Click <strong>Start Scan</strong> to find Windows issues that could
          be causing PC problems.
        </li>
        <li>
          Click <strong>Repair All</strong> to fix issues with Patented
          Technologies (Exclusive Discount for our readers).
        </li>
      </ol>
      <ul style="list-style: none; margin-top: 0">
        <li style="font-size: 14px"><em>Restoro has been downloaded by <span>9,041</span> readers this week.</em></li>
      </ul>
      <script>const despan=document.getElementById("restoro-b-downloads");let...

CSS

div {
    display: block;
}
.main-content {
    width: 100%;
    font-size: 1.125rem;
}
.main-content {
    line-height: 1.4em;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Open Sans",sans-serif;
    font-weight: 400;
    font-size: 1em;
    line-height: 1.8;
    text-rendering: optimizeLegibility;
}
:root {
    --background-color: #fff;
    --max-width: 1246px;
}
html {
    font-size: 1rem;
}
html, button, input, select, textarea {
    font-family: sans-serif;
}
html {
    background: #fff;
    color: #000;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
*, *:after, *:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:after, *:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}