JSFiddle - React, Tailwind, and code Playground

by Richard Hunter

HTML

Hello world

<div class="blah">
  <div class="foo"></div>
  <div class="bar"></div>
</div>

<div class="meh">dd</div>

CSS

body {
  background: pink;
}
.blah {
  isolation: isolate;
}
.meh {
  width: 50px;
  height: 50px;
  display: inline-block;
  background: yellow;
}
.foo {

  background: red;
  border-radius: 10px;
  padding: 100px;
  display: inline-block;
}

.bar {
  padding: 100px;
  mix-blend-mode: overlay;
  background: lightblue;
  position: fixed;
  opacity: 0.5;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;


}