Skip to content

Support for @import in style tag #300

@ngmaibulat

Description

@ngmaibulat

CSS support import statements in style tags.
Premailer does not seem to support that?

Example below:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      @import url("main.css");
    </style>
  </head>
  <body>
    <p>css import</p>
  </body>
</html>

CSS:

p {
  color: red;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions