要素をこのように半透明にしてみる
コード.gs
function doGet() { return HtmlService.createHtmlOutputFromFile("index"); } |
意訳この機能がやること 指定したHTMLファイルを表示する |
index.html
<!DOCTYPE html> <html> <head> <style> .opacity_05 { opacity: 0.5; } </style> </head> <body> <button>通常ボタン</button> <button class="opacity_05">半透明ボタン</button> </body> </html> |
意訳opacity_05のスタイル 半透明にする 通常ボタン 半透明ボタン |