Demo entry 6345753

less

   

Submitted by Drink My Diesel on Feb 06, 2017 at 15:15
Language: LessCss. Code size: 409 Bytes.

@base: #f938ab;
   .box-shadow(@style, @c) when (iscolor(@c)) {
       -webkit-box-shadow: @style @c;
       box-shadow:         @style @c;
   }
   .box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) {
       .box-shadow(@style, rgba(0, 0, 0, @alpha));
   }
   .box {
       color: saturate(@base, 5%);
       border-color: lighten(@base, 30%);
       div { .box-shadow(0 0 5px, 30%) }
   }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).