1×
Become a member
to unlock all features

Create egghead account to access 5000+ tutorials and resources from expert developers.

Create account
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