DEV Community

davidka7
davidka7

Posted on

Awesome box stairs outline

Always wanted to create a cool design on your card or box with css, here one a multiple color outline of a box.

box {

line-height: 30px;


box-shadow:
  inset #0cab9c 0 0 0 5px, 
  inset #059c8e 0 0 0 1px, 
  inset #0cab9c 0 0 0 10px, 
  inset #1fbdae 0 0 0 11px, 
  inset #8ce9ff 0 0 0 16px, 
  inset #48e4d6 0 0 0 17px, 
  inset #bfecf7 0 0 0 21px, 
  inset #48e4d6 0 0 0 22px
Enter fullscreen mode Exit fullscreen mode

}

Top comments (0)