How to let imported css have effects on elements in the shadow dom?
问题 Say if I want to create a custom element using shadow dom. Some elements in the template have class names specified in the linked css file. Now I want to let the css rules have effects on the elements. But I can\'t achieve that because of the shadow dom style boundary. <link rel=\"stylesheet\" type=\"text/css\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css\"> <template id=\"blog-header\"> <header> <h1>DreamLine</h1> <nav> <ul> <li><a href=\"#0\">Tour</a><