<div class="box"></div>

<div class="box2"></div>

<div class="box3"></div>

<div class="lui-column-bg">
  <div class="lui-inner" style="height: 50%;">
  </div>
</div>

:root{
  --item-width: 200px;
  --item-height: 200px;
  --item-color:#2E3092;
  --levelShadow: #22325480;
}

body{
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
/*   background: radial-gradient(#9bdfff, #009be4); */
  background: white;
}


.box{
  /*   体部   */
  /*   矩形开始 */
  width:var(--item-width);
  height: calc(var(--item-height) * 1.5) ;
  margin: 100px auto;
  position:relative;

  background-color: transparent;
  background-color: rgba(0, 199, 159, 0.2);

  opacity: 0.6;

  /*   border-left:var(--item-color) 0.5px solid;
  border-right:var(--item-color) 0.5px solid;
  border-bottom: var(--item-color) 0.5px solid; */
}


.box:before {
  /*  顶面 */
  /*   矩形开始 */
  content: '';
  position:absolute;
  display:block;
  /*   margin-left: 100px; */
  width:var(--item-width);
  height:var(--item-height);
  top: -100px;

  z-index: 1;

  /*   border:solid 1px black; */
  /*   background-color: transparent; */
  background-color: rgba(5, 39, 175, 0.6);


  /*   角度变圆   50%  达到 整个圆形*/
  border-radius: 50%;

  /*   旋转 */
  transform: rotateX(70deg);
}


.box:after {
  position: absolute;
  content: '';
  display: block;
  width:var(--item-width);
  height:var(--item-height);
  border-radius: 50%;
  bottom: -100px;
  background-color: rgb(0, 255, 204);
  
  /*   旋转 */
  transform: rotateX(70deg);
}





.box2{
  /*   体部   */
  /*   矩形开始 */
  width:var(--item-width);
  height: calc(var(--item-height) * 1.5) ;
  margin: 100px auto;
  position:absolute;
  bottom: 0;

/*   background-color: transparent; */
  background: linear-gradient(to top, rgb(0, 255, 204), rgb(0, 199, 159));
  text-align: center;

/*   opacity: 0.6; */

}


.box2:before {
  /*  顶面 */
  /*   矩形开始 */
  content: '';
  position:absolute;
  display:block;
  /*   margin-left: 100px; */
  width:var(--item-width);
  height:var(--item-height);
  top: -100px;

  z-index: 1;

  /*   border:solid 1px black; */
  /*   background-color: transparent; */
  background-color: rgb(0, 199, 159);


  /*   角度变圆   50%  达到 整个圆形*/
  border-radius: 50%;

  /*   旋转 */
  transform: rotateX(70deg);
}


.box2:after {
  position: absolute;
  content: '';
  display: block;
  width:var(--item-width);
  height:var(--item-height);
  border-radius: 50%;
  bottom: -100px;
  background-color: rgb(0, 255, 204);
  
  /*   旋转 */
  transform: rotateX(70deg);
}






.box3{
  /*   体部   */
  /*   矩形开始 */
  width:var(--item-width);
  height: var(--item-height) ;
  position:absolute;
  top: 100px;

  background-color: transparent;
  background: linear-gradient(to top, rgba(0, 199, 159, 0.2), rgba(5, 39, 175,0.5));
  text-align: center;

/*   opacity: 0.6; */
  
}


.box3:before {
  /*  顶面 */
  /*   矩形开始 */
  content: '';
  position:absolute;
  display:block;
  /*   margin-left: 100px; */
  width:var(--item-width);
  height:var(--item-height);
  top: -50%;

  z-index: 1;

  /*   border:solid 1px black; */
/*     background-color: transparent; */
  background: linear-gradient(120deg,  #7f94fc, #3f58e3);


  /*   角度变圆   50%  达到 整个圆形*/
  border-radius: 50%;

  /*   旋转 */
  transform: rotateX(70deg);
  
}

.box3:after {
  position: absolute;
  content: '';
  display: block;
  width:var(--item-width);  
  height:calc(var(--item-height) / 2);   /*   100px */
  border-radius: 0 0 var(--item-width) var(--item-width) ;

  bottom: -50%;
  background-color: rgba(0, 199, 159, 0.2);
  
  /*   旋转 */
  transform: rotateX(70deg);
  /*   根据x方向上的哪根轴进行旋转? top 沿着顶部 */
  transform-origin: top;
/*   box-shadow: h-shadow v-shadow blur spread color inset; */
  box-shadow: 0px 90px 30px var(--levelShadow), 0px 10px 10px 1px rgba(0, 199, 159, 0.2);
  z-index: 1;
}




.lui-column-bg {
  position: relative;
  width: 50px;
  height: 90px;
  margin: 100px auto;
  background-color: transparent;
  background-color: rgba(0, 199, 159, 0.2);
}
.lui-column-bg:before {
  position: absolute;
  content: '';
  display: block;
  height: 20px;
  width: 100%;
  border-radius: 50%;
  top: -10.5px;
  z-index: 1;
  background-color: rgb(101 221 197);
}

.lui-column-bg:after {
  position: absolute;
  content: '';
  display: block;
  height: 15px;
  width: 100%;
  border-radius: 50%;
  bottom: -10px;
  background-color: rgb(0, 255, 204);
}

.lui-inner {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50%;
  background-image: linear-gradient(to top, rgb(0, 255, 204), rgb(0, 199, 159));
  text-align: center;
}
.lui-inner::before {
  position: absolute;
  content: '';
  display: block;
  height: 20px;
  width: 100%;
  background-color: rgb(0, 199, 159);
  border-radius: 50%;
  top: -10.5px;
  z-index: 1;
}
.lui-inner:after {
  position: absolute;
  content: '';
  display: block;
  height: 15px;
  width: 100%;
  border-radius: 50%;
/*   background-color: white; */
  bottom: -10px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.