menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

styled-components

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress!

Channels
Team

How can I get and box-shadow inset with styled-primitives

June 4, 2018 at 4:59pm

How can I get and box-shadow inset with styled-primitives

June 4, 2018 at 4:59pm
I tried
box-shadow: inset 4px 1px rgba(97, 92, 92, 0.5);
But is failing with the following message
Failed to parse declaration "boxShadow: inset 0px 4px 1px rgba(97, 92, 92, 0.5)"
The regular box-shadow without inset works perfectly. The question how can I render a inset shadow without crashing the parser?
No messages yet