Skip to content

The Chemical Reaction Form

Each field is a chemical element — watch solutions change color and bubble

The Chemical Reaction Form

by FreeCsStyles Dev's

ComplexCSS
🌐
#science#chemistry#beaker#bubbles

Embed this component

Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/chemical-reaction.

<iframe src="/embed/chemical-reaction" sandbox="allow-scripts" loading="lazy" title="The Chemical Reaction Form" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>

Implementation code

Copy the HTML and CSS for The Chemical Reaction Form. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.

HTML
<div class="lab-bench">
  <div class="beaker">
    <div class="liquid" style="height: 40%; background: rgba(59,130,246,0.35)"></div>
    <input type="text" placeholder="Reagent A">
  </div>
</div>
CSS
.lab-bench {
  padding: 1.5rem;
  background: linear-gradient(180deg, #111827, #1a2332);
  border-radius: 12px;
}
.beaker {
  position: relative;
  height: 120px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top: none;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: height 0.5s ease;
}

Topics

  • #science
  • #chemistry
  • #beaker
  • #bubbles