Skip to content

Add inline code for the home page's critical CSS #66

Description

@2ndTwo

To do this, an additional stylesheet should be generated and its contents should be dynamically added to the page's HTML. The stylesheet should consist of @import declarations that only grab styles used on the home page.

The stylesheet should only output content when the Sass $dev-mode variable is false in order to speed up compilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestphpEdits that modify PHP filessassEdits that modify Sass files

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions