Angular, Front End Development, Web Development, Web Design, Shadow Dom.
<!DOCTYPE html> <html> <head> <style> .container[_ngcontent-khs-1] { border: 1px solid black; } </style> </head> <body> <my-app> <my-component _nghost-khs-1> <div _ngcontent-khs-1 class="container"></div> </my-component> </my-app> </body> </html> Shadow DOM ( ViewEncapsulation.Native ) In this mode