Skip to content

Commit 9fd087d

Browse files
committed
style type -> css
1 parent cc765d7 commit 9fd087d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftHtml/Tags/Style.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public extension Style {
2323
attribute("media", value)
2424
}
2525

26-
/// Specifies the media type of the `<style>` tag
27-
func type() -> Self {
26+
/// Specifies the media type (text/css) of the `<style>` tag
27+
func css() -> Self {
2828
attribute("type", "text/css")
2929
}
3030
}

0 commit comments

Comments
 (0)