JSFiddle - React, Tailwind, and code Playground

by mpsingh2003

HTML

<script src="//code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<link rel="stylesheet" href="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<div class="accordion" id="accordionExample">
  <div class="card">
    <div class="card-header" id="headingOne">
      <h2 class="mb-0">
        <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
          Launch Request Receieved
        </button>
      </h2>
    </div>

    <div id="collapseOne" class="collapse show" aria-labelledby="headingOne">
      <div class="card-body">
        <div class="text">
          <dl class="row">
            <dt class="col-sm-3">User Agent</dt>
            <dd class="col-sm-9">An HTML user agent is any device that interprets HTML documents.</dd>
            <dt class="col-sm-3 text-truncate">Client-side Scripting</dt>
            <dd class="col-sm-9">Client-side scripting generally refers to the category of computer programs on the web that are executed by the user's web browser.</dd>
            <dt class="col-sm-3">Document Tree</dt>
            <dd class="col-sm-9">The tree of elements encoded in the source document.</dd>
          </dl>
        </div>
        <div class="req-status text-danger">
          <span><i class="fa fa-times fa-lg"></i></span>
          <span class="ml-1">OIDC Request Not Valid</span>
        </div>
        <div class="req-error-explain">
          <div>
            Request validation failed due to:
          </div>
          <ul>
            <li>
              <code class="text-secondary">iss</code> doesn't match any of registered Platforms
            </li>
   ...

CSS

.row {
  background: #f8f9fa;
  margin-top: 20px;
}

.col {
  border: solid 1px #6c757d;
  padding: 10px;
}