I\'m not a web developer and I\'ve only used CSS once in the past. What is the process for using CSS? Is this even possible?
var pointsSheet = SpreadsheetApp.
"Templated HTML" can be used to include a separate CSS file.
The CSS can be put into a separate Apps Script HTML file.
CSS is technically just a tag in HTML.
So, putting your CSS into an HTML file will display it in the code editor correctly.
The HTML File with the CSS can be included in your main HTML file. In the Apps Script HTML file, put your CSS inside of
tags.
Then in your main HTML File, put in a scriptlet tag:
!= include('Name_Of_HTML_File_With_CSS'); ?>
In your main .gs
code file, you need a function named include
function include(filename) {
return HtmlService.createHtmlOutputFromFile(filename).getContent();
};
Also see this stackoverflow question: Google app script : Separating HTML and CSS