Beautiful SASS bottom shadow

.shadow { position: relative; height: 50px; width: 600px; border: 1px solid #f7f7f7; margin: 50px auto; &:before { position: absolute; content: ''; left: 0; right: 0; bottom: 0; top: 0; background-color: rgba(155,155,0, 0.25); @include border-radius(30%); @include box-shadow(0 5px 10px 0px rgba(0, 0, 0, 0.3)); clip: rect(50px, auto, 70px, 0); } }

1 Response

There is the Codepen demo : http://codepen.io/Nkzq/pen/pvZavb

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.