1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Using the `css` prop to define styles in Styled Components

    reactReact

    In this lesson, we will learn about the css prop we have at our disposal in styled-components to change the style of a component right in the render function.

    We will use this prop to override the text color of a button with the one we define in this prop