Answers.Body: <p>You can include CSS for your plugin one of two ways.</p>
  
  <p><strong>1) Inline CSS</strong></p>
  
  <p>You can include CSS snippets by using <code>{% includeCss myCss %}</code>. This is great if you are just wanting to include a few lines of CSS. Read more here: <a href="http://buildwithcraft.com/docs/templating/includecss" rel="nofollow">http://buildwithcraft.com/docs/templating/includecss</a></p>
  
  <p><strong>2) Reference a Resource CSS file</strong></p>
  
  <p>Usually contained in your /resources folder inside your plugin you can include a CSS file by using <code>{% includeCssResource "pluginName/styles.css" %}</code> You can read more here: <a href="http://buildwithcraft.com/docs/plugins/resources" rel="nofollow">http://buildwithcraft.com/docs/plugins/resources</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-26T02:55:28.393Z
Answers.Text: I tried and got both ways working.  Thank you!
Answers.UserDisplayName: kr37
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-26T01:48:17.830Z
Answers.LastActivityDate: 2015-05-26T01:48:17.830Z
Answers.UserDisplayName: Adam McCombs
Body: <p>I'm working on a plugin with it's own CP section as described in the docs <a href="http://buildwithcraft.com/docs/plugins/templates#giving-your-plugin-its-own-cp-section" rel="nofollow">here</a>. What is the appropriate way to include CSS styling for that page?</p>
  
Tags: <plugin-development><control-panel><css>
Title: "Giving your Plugin its own CP Section" What about the CSS?
ThreadText: # "Giving your Plugin its own CP Section" What about the CSS?
  
  (Asked by: username_0 on 2015-05-26)
  
  I'm working on a plugin with it's own CP section as described in the docs [here](http://buildwithcraft.com/docs/plugins/templates#giving-your-plugin-its-own-cp-section). What is the appropriate way to include CSS styling for that page?
  
  **Tags:** plugin-development, control-panel, css
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-05-26. Score: 3 | Accepted answer
  
  You can include CSS for your plugin one of two ways.
  
  **1) Inline CSS**
  
  You can include CSS snippets by using `{% includeCss myCss %}`. This is great if you are just wanting to include a few lines of CSS. Read more here: <http://buildwithcraft.com/docs/templating/includecss>
  
  **2) Reference a Resource CSS file**
  
  Usually contained in your /resources folder inside your plugin you can include a CSS file by using `{% includeCssResource "pluginName/styles.css" %}` You can read more here: <http://buildwithcraft.com/docs/plugins/resources>
  
  > **Comments:**
  > **username_0**: I tried and got both ways working.  Thank you!  
  
  ---
  
  