Using Emotion CSS Prop

Category:Gatsby Development
  • this
  • that
some image
Image credit

How to pass multiple CSS classes to the CSS Prop

Class names containing emotion styles from the className prop override css prop styles. Class names from sources other than emotion are ignored and appended to the computed emotion class name.

https://emotion.sh/docs/css-prop#style-precedence css={class1, class2} class1 and class2 is created via the CSS template literals: css...

Hopper The Rabbit2
Hopper The Rabbit2

Previous Read
Christmas and a new Website
Let's go
Next Read
Setting up my Blog
Read On!
R
L