<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
  paddding: 1vw;
  grid-gap: 1vw;
}

div {
  min-height: 44vh;
  border: .3em solid currentColor;
  margin:.8vw 3vw;
  border-radius: 8vw 2vw 8vw 2vw / 2vw 8vw 2vw 8vw;
  
  &:nth-child(2) {
    border-style: dotted;
    color: #f36;
  }
  
  &:nth-child(3) {
    border-style: dashed;
    color: #3e6;
  }
  
   &:nth-child(4) {
    border-style: double;
    color: #e66;
  }
  
   &:nth-child(5) {
    border-style: groove;
    color: #9e3;
  }
  
  &:nth-child(6) {
    border-style: outset;
    color: #bf66fb;
  }
  
  &:nth-child(7) {
    border-style: ridge;
    color: #6fbbf6;
  }
  
   &:nth-child(8) {
    border-style: inset;
    color: #95ae3f;
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.