We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc765d7 commit 9fd087dCopy full SHA for 9fd087d
Sources/SwiftHtml/Tags/Style.swift
@@ -23,8 +23,8 @@ public extension Style {
23
attribute("media", value)
24
}
25
26
- /// Specifies the media type of the `<style>` tag
27
- func type() -> Self {
+ /// Specifies the media type (text/css) of the `<style>` tag
+ func css() -> Self {
28
attribute("type", "text/css")
29
30
0 commit comments