Title: Importing plain css files using @import
Last modified: July 26, 2018

---

# Importing plain css files using @import

 *  [willav](https://wordpress.org/support/users/willav/)
 * (@willav)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/importing-plain-css-files-using-import/)
 * [https://stackoverflow.com/questions/7111610/import-regular-css-file-in-scss-file ](https://stackoverflow.com/questions/7111610/import-regular-css-file-in-scss-file)
 * This thread talks about a means by which you can use a sass compiler to include
   raw, plain CSS into your compiled css file using `@import.`
 * In an attempt to automate the combination of all my CSS files in one. I was doing
   something like this:
 *     ```
       @import 'bootstrap.min'
       @import '_main.scss';
       @import '_secondary.scss';
       ```
   
 * However when compiled this doesn’t work.
 * The resulting CSS file starts with `@import 'bootstrap.min'` rather than the 
   contents of bootstrap.min.css.
 * Trying another option I changed the filename of bootstrap.min.css to _bootstap.
   min.scss and `@import`ed that. This freezes the WP site entirely.
 * Any thoughts on if I can achieve an automated merge of all my scss and css files
   using WP-SCSS?
    -  This topic was modified 7 years, 10 months ago by [willav](https://wordpress.org/support/users/willav/).
    -  This topic was modified 7 years, 10 months ago by [willav](https://wordpress.org/support/users/willav/).

The topic ‘Importing plain css files using @import’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-scss_222222.svg)
 * [WP-SCSS](https://wordpress.org/plugins/wp-scss/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-scss/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-scss/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-scss/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-scss/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-scss/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [willav](https://wordpress.org/support/users/willav/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/importing-plain-css-files-using-import/)
 * Status: not resolved