Import multiple css file into single file
How importing allows to import one style sheet into another.
for example you are linked many external css files in your project as<link rel="stylesheet" type="text/css" href="/css/reset.css"/> <link rel="stylesheet" type="text/css" href="/css/style.css"/> <link rel="stylesheet" type="text/css" href="/css/datatables.css"/>Now put all css file in one css.
Create one new css file (e.g. bundle.css), now call all css in to this file.
@import url('/css/reset.css'); @import url('/css/style.css'); @import url('/css/datatables.css');Now bundle.css file call in your project.
<link rel="stylesheet" type="text/css" href="/css/bundle.css"/>
Import multiple css file into single file
Reviewed by Bhaumik Patel
on
7:52 PM
Rating: