Published on: 06 Jul, 2013

How to include or import css file?

Tumblr Digg Google Plus

When you have a long list of css, it will be a good idea to organise or split the css contents into groups or categories. Why you should include css files separately? Well, by splitting them into a small files, it will be easier to maintain and read the css code file.

To import a css file you can use the following import function.

@import url('/path1/main.css');
@import url('/path2/color.css');
@import url('/path3/headings.css');
The above import functions are placed inside a css file.

Comments

There are no comments available.

Write Comment
0 characters entered. Maximum characters allowed are 1000 characters.