Add support for css prop?
See original GitHub issueI know it’s not a Styled Components feature, but it would be great if this plugin supported the Emotion’s css
property.
<div css={`
color: red;
`} />
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
supports - CSS: Cascading Style Sheets - MDN Web Docs
The @supports at-rule consists of a block of statements with a supports condition. The supports condition is a set of one or more...
Read more >The css Prop - Emotion
The primary way to style elements with emotion is the css prop. It provides a concise and flexible API to style your components....
Read more >Announcing native support for the css prop in styled ... - Medium
Using the css prop. Using the css prop is as simple as adding it to any element in your app. It supports everything...
Read more >Add support for css prop · Issue #270 - GitHub
Styled components now supports the css prop via a babel plugin. Currently these blocks are not detected by this processor preventing inline css...
Read more >CSS Variables (Custom Properties) | Can I use... Support ...
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile ... CSS Variables (Custom Properties)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mxstbr As support for the
css
prop was added by styled-components v4, is it possible to re-open this issue?Likewise, If I can be pointed to the relevant file and documentation would be happy to have a crack at this.