Skip to content

Instantly share code, notes, and snippets.

@vre2h
Last active May 21, 2024 20:54
Show Gist options
  • Save vre2h/4bad1d3b836f6a18c9bd5a8ca68ab1d9 to your computer and use it in GitHub Desktop.
Save vre2h/4bad1d3b836f6a18c9bd5a8ca68ab1d9 to your computer and use it in GitHub Desktop.
Simple guide to adding normalize.css to create-react-app
  1. Install normalize.css via npm
npm install --save normalize.css

1.1 Or yarn

yarn add normalize.css
  1. Import it to your root .js file before your css styles
import 'normalize.css';
@OtlichnikSasha
Copy link

use @import "normalize.css/normalize.css" instead @import-normalize;

@mrsvolodya
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment