https://www.htmlelements.com/angular/demos/menu/items-layout/ I was referring to example given in this link, why do we need to set viewEncapsulation as none in the above example app.component.ts