This topic is locked
[SOLVED]

:host css

7/8/2021 2:13:41 PM
PHPRunner General questions
J
jacques author

Hi,

Does anyone know how to add a css-class to the custom css ":host" ?

/ Put your custom CSS code here /
:host {
color: red;
>>>> this is the place I want to add a css-class <<<<<
}

admin 7/8/2021

You need to add CSS code here, not the class.

What are you trying to achieve?

J
jacques author 7/8/2021

Thank you.

What I want to do was to include an existing bootstrap class to get a different (mobile)layout. Something like a listview from jquery mobile.

I'll look for another solution.

gr

Jacques

admin 7/12/2021

You cannot include a class there, it needs to be CSS code.