Reputation: 373
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.
Upvotes: 1
Views: 1708
Reputation: 1912
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
Upvotes: 2
Reputation: 15
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
Upvotes: 0