Ability to add attributes to the Style tag in head #2875
Labels
breaking
This is a breaking change
enhancement
New feature or request
html
Related to the html crate
Milestone
Problem
head::Style {} has body. There is also a need to add the ability to specify attributes inside the tag, as in the example below.
r#type: "text/tailwindcss"
Example:
https://tailwindcss.com/docs/installation/play-cdn
3 Try adding some custom CSS
Steps to reproduce the behavior:
Expected behavior
The custom CSS that supports all of Tailwind's CSS features should be properly loaded and applied to the page into the head section.
Environment:
The text was updated successfully, but these errors were encountered: