Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99173

How to Link a CSS file in Angular in Userfriendly Explanation

$
0
0

I have 12 component and their share the same code in their local css file

  .column {
    flex: 100px;
    padding: 10px;
  }

What course of action should I do in order to apply DRY?

Info:
*The code should be in a single css file and to be linked in each component.
*I would like the file and its code to be inside of a angular project.
*I don't know hot to do it. Based on the instruction below, they are not explicit about how to do it.
Load external CSS into component

Thank you!


Viewing all articles
Browse latest Browse all 99173

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>