Skip to content

Commit

Permalink
style type -> css
Browse files Browse the repository at this point in the history
  • Loading branch information
tib committed Dec 29, 2021
1 parent cc765d7 commit 9fd087d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwiftHtml/Tags/Style.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public extension Style {
attribute("media", value)
}

/// Specifies the media type of the `<style>` tag
func type() -> Self {
/// Specifies the media type (text/css) of the `<style>` tag
func css() -> Self {
attribute("type", "text/css")
}
}

0 comments on commit 9fd087d

Please sign in to comment.