JSFiddle - React, Tailwind, and code Playground

by Keith Jeter

HTML

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
					<div class="accordion" id="accordionPanelsStayOpenExample">
  <div class="accordion-item">
    <h2 class="accordion-header" id="panelsStayOpen-headingOne">
      <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#panelsStayOpen-collapseOne" aria-expanded="true" aria-controls="panelsStayOpen-collapseOne">
        Accordion Item #1
      </button>
    </h2>
    <div id="panelsStayOpen-collapseOne" class="accordion-collapse collapse show" aria-labelledby="panelsStayOpen-headingOne">
      <div class="accordion-body">
        <strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
      </div>
    </div>
  </div>
					</div>

CSS

svg {
  position: absolute;
  z-index: 3;
  pointer-events:none; 
}

.grandle {
  position: relative;
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  margin: 10px;
  color: #fff;

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,474340+100 */
  background: #000000;
  /* Old browsers */
  background: -moz-linear-gradient(top, #000000 0%, #474340 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #000000 0%, #474340 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #000000 0%, #474340 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#474340', GradientType=0);
  /* IE6-9 */
  border: solid 3px #421e27;
}

.grandle svg.corn1 {
  width: 50px;
  stroke: pink;
  stroke-width: 1px;
  stroke-linejoin: round;
  paint-order: stroke;
}

.grandle svg.corn1:nth-child(1) {
  left: -.5%;
  top: -1%;
}

.grandle svg.corn1:nth-child(2) {
  right: -.5%;
  top: -1%;
  transform: rotate(90deg);
}

.grandle svg.corn1:nth-child(3) {
  left: -.5%;
  bottom: -1%;
  transform: rotate(-90deg);
}

.grandle svg.corn1:nth-child(4) {
  right: -.5%;
  bottom: -1%;
  transform: rotate(180deg);
}

.grandle svg.topp1 {
  /* fill: pink; */
  top: 8%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
}

.grandle .cls-1 {
  fill: red;
}

.grandle .cls-2 {
  fill: purple;
}

.prof {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 22px 10px 22px 0;
  background: yellow;
  border: solid 3px #fff;
}