css

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package css loads a user-supplied stylesheet, inlining any local @import targets it references.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) (string, error)

Load reads the stylesheet at path and inlines its local @import targets, recursively, so the result is self-contained. Remote imports (scheme://) are left untouched for the browser to fetch itself.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL