0
Hello,
I am creating a system with Angular 5 together with Material (CSS), but I have the following problem in my project: When soon in the system, CSS is loaded poorly (see image below).
But when I give the F5, the screen fixes according to my CSS:
I have no idea where this problem starts, anyone has any idea?
Put the full HTML there, with the
<head>
including, and what you have created of CSS also– hugocsl
CSS is being loaded into the <head>?
– Sam
Oddly enough, it was a Viewencapsulation problem in Login... I can’t understand why, but when I removed the encapsulation from Login, it started working normally again.
– Guilherme Leonardo Utzig
ok - now, you have several options - add a little context of how your html looked, and add your own answer , or remove that question. ( As it stands it is only generating noise as a question without sufficient context. If you put your own answer, you can help people who have the same problem, and still earn reputation points.
– jsbueno