chrome extension reference css file from content sccript code example
Example 1: chrome extension add stylesheet to page
//Add this to manifest.json
"content_scripts": [
{
"matches": ["http://www.google.com/*"],
"css": ["stylesheet.css"],
}
],
Example 2: chrome extension inject html
$.get(chrome.runtime.getURL('/template.html'), function(data) {
$(data).appendTo('body');
});