How to include all css kept in a directory?

后端 未结 8 2035
情歌与酒
情歌与酒 2020-12-03 10:20

Is it possible to include multiple css at once in html? Or to be precise, is it possible to include all css placed in a directory, in one go?
like at present what we d

8条回答
  •  悲&欢浪女
    2020-12-03 11:09

    You could write a server-side script that concatenate all of the files in the directory and sends that to the client, then put the script in a tag.

    However, beware of syntax errors.

提交回复
热议问题