T
T
tolstoi_a2019-03-13 20:44:35
css
tolstoi_a, 2019-03-13 20:44:35

How to add third-party CSS styles to a component?

task: there is a component And with the styles. how to add some style to this component from another css file (maybe from a modular one) to a specific element of component A. Of course, you can write the style in the component, but I want to leave it clean in order to reuse it somewhere, even in another project.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alibek Kulseitov, 2019-03-13
@AlibekKulseitov

I read it and didn't understand anything, then I read it again and didn't understand anything)

R
Robur, 2019-03-13
@Robur

Attach a class to it from another css file. If modular - import and hang

D
Dmitry Shmakov, 2019-03-14
@DimaDSblog

@import "second.css";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question