I am adding CSS and JS files to my node.js/express application using ejs templating engine. JS files are being applied but only the first included CSS file is being applied. All the files are being included but their styles are not being applied to the html other than the first one. If I import other css files into the first one only then they get applied to the html.
Adding via static method.
app.use(express.static(__dirname + '/public'));
In html
<link href="css/custom.css" rel="stylesheet" title="custom" type="text/css" />