# Load Css

在webview窗口中加载自定义CSS

import webview

def load_css(window):
    window.load_css('body { background: red !important; }')

if __name__ == '__main__':
    window = webview.create_window('Load CSS Example', 'https://pywebview.flowrl.com/hello')
    webview.start(load_css, window)