emotion version: 8.0.2.5react version: 16.2.0Relevant code.
const Box = styled('div')({
display: 'flex',
content: '',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'darkorchid',
width: 48,
height: 48,
padding: '4px 4px 8px 8px',
margin: '8 16',
backgroundClip: 'content-box',
});
What you did:
Set empty content.
What happened:
CSS contained content:px;

See: https://codesandbox.io/s/211j8m743n
Problem description:
Empty content is being treated like a pixel value and output becomes malformed.
Suggested solution:
I haven't looked at the source.
Actually, I just discovered that this works content: '" "'. While this does make sense to me, the output seems unexpected still.
Most helpful comment
Actually, I just discovered that this works
content: '" "'. While this does make sense to me, the output seems unexpected still.