Including a CSS file in another CSS file

12 Jun 2013 . posts . Comments
#CSS #UI #Web

Use the line “@import url(file.css);”.

Apparently this needs to be the first line in a CSS file. Don’t forget the final semi-colon like I did :/…

Thanks Stack Overflow!

http://stackoverflow.com/questions/147500/is-it-possible-to-include-one-css-file-into-another


Me

Anthony is an Australian software engineer and mathematician. As a UTS MBT graduate, Anthony is the technology co-founder of a property and cycling-tech startup and enjoys teaching and learning coding with the Australian startup scene.