Define a style that imports a CSS file and defines style elements as well. The PROC TEMPLATE statement starts the TEMPLATE procedure. The DEFINE STYLE statement creates a new style called MyCssStyle. The IMPORT statement imports the CSS file StyleSheet.css, and converts the CSS code into ODS style elements and style attributes. Because no media-type option is specified, the Screen media block is imported along with the CSS code that is not in any media blocks. The Print media block is not imported. The CLASS statement specifies a red font color in the Data style element. Note: Specifying:
class data / color=red;is the same as specifying:
style data from data / color=red;
proc template; define style styles.mycssstyle; import "StyleSheet.css"; class data / color = red; end;