question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for css prop?

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
kripodcommented, Dec 16, 2018

@mxstbr As support for the css prop was added by styled-components v4, is it possible to re-open this issue?

0reactions
njdancercommented, May 27, 2019

Likewise, If I can be pointed to the relevant file and documentation would be happy to have a crack at this.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found