code: public static SafeHtml fromStyleSheet(SafeStyleSheet safeStyleSheet) {
      Preconditions.checkArgument(!safeStyleSheet.getSafeStyleSheetString().contains("<"));
      return create("<style type=\"text/css\">" + safeStyleSheet.getSafeStyleSheetString()
          + "</style>");
    }
docs: Wraps a SafeStyleSheet inside a &lt;style type="text/css"&gt; tag.