Import inline CSS to a SASS / COMPASS project
Remember the last time when you had to break your project structure or mix your precious, sweet stylesheets with vendor files because your tools were not able to import a single CSS file? Now you don't have to.
Chris Eppstein created a compass plugin with inline css import functionality:
https://github.com/chriseppstein/sass-css-importer
Now, importing a CSS file is as easy as *:
@ import "CSS:library/some_css_file"
- ignore the space between @ and import statement, it's just Coderwall trying to convince me I'm referencing a guy called import in my tip
Written by Rafal Pastuszak
Related protips
1 Response
I tried this but It adds this file at the top . How to move it to bottom?
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#