<div></div>
<div></div>
<div></div>
body {
  background-color: #1d1e1f;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

body > div {
  margin: 5px;
  width: 480px;
  height: 480px;
  box-sizing: border-box;
  border-radius: 50px;
}

div:nth-child(1) {
  background-image: linear-gradient(134deg, #3023ae 0%, #c86dd7 100%);
  border: 30px solid #f90;
}

div:nth-child(2) {
  background-image: linear-gradient(134deg, #3023ae 0%, #c86dd7 100%),
    linear-gradient(134deg, #f90 0%, #f90 100%);
  background-origin: padding-box;
  background-clip: content-box, padding-box;
  padding: 30px;
}

div:nth-child(3) {
  background-image: linear-gradient(134deg, #3023ae 0%, #c86dd7 100%),
    linear-gradient(134deg, #f90 0%, #f90 100%);
  background-origin: padding-box;
  background-clip: content-box, padding-box;
  padding: 30px;
  border: 30px solid #f36;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.