<div class="ico-test">
        <div class="soc icon"></div>
        
    </div>
// $b: rgb(252, 220, 173);
$b: white;
// $b: transparent;

.ico-test {
   display: flex;
   align-items: center;
   justify-content: center;
  
  
  width: 100%;
  height: 150px;
  // background-color: $b;
  background: linear-gradient(#03b395, #4d9f0c7a);
  .soc {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100px;
    height: 100px;
    border-style: solid;
    border-width: 5px;
    border-radius: 50%;
    // border-image: linear-gradient(#03b395, #4d9f0c) 30;

    font-size: 50px;
    margin: 10px;

    &:hover {
      border: double 5px transparent;
      border-radius: 50%;
      background-image: linear-gradient($b, $b),
        radial-gradient(circle at top left, #f00, #3020ff);
      background-origin: border-box;
      background-clip: content-box, border-box;
    }

 
  }
 }
 .icon {
    &:before {
     content: "S";
     font-size: 50px;
    }
  }


body{
  background-color: rgba(190, 231, 136, 0.726);
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.