how do i check if normalized css is working in angularjs or not?

1.5k Views Asked by At

How do i check if normalized css is working in Angular.js or not after importing normalized.css in the style.css file. After I click on the import i.e. Cntrl + click it says cant find the file.

The things i did to include normalize.css is 1) npm install --save normalize.css 2) @import '~normalize.css'; in my style.css file 3) Under styles added "../node_modules/normalize.css/normalize.css" in my angular.json file.

2

There are 2 best solutions below

1
On

You can look at the styles applied to the html tag and see if the following two are applied:

line-height: 1.15;
-webkit-text-size-adjust: 100%;

You can check other styles that are applied by looking at the normalize.css file inside the package files on Github here: normalize.css

4
On

try to type ul and li tags into html file .. If displayed without dots, we conclude that this file works. also I think if we have written h1,h2,h3 they will have same size