DEV Community

Discussion on: Working with Styled Components in ReactJS

Collapse
 
mykezero profile image
Mykezero • Edited

I'm absolutely terrible with CSS, but maybe something like this will work?
codepen.io/Mykezero/pen/jOaajZK

You can also place the styled component in a separate file and export it to share the style as well. Hopefully this helps! ^^

Collapse
 
mrpaulishaili profile image
Paul C. Ishaili

First, you can style your component, using a specified class, in a css file, and import the file into your the App.js file. That can work too.