calling multiple external css files at once to html page

前端 未结 5 595
走了就别回头了
走了就别回头了 2020-12-11 23:23

I was wondering how I can call multiple external css files at once instead of calling each individually. I want to do that to avoid the request number and minimize it to one

5条回答
  •  悲哀的现实
    2020-12-11 23:40

    Even if you can minimize your html code to only one line, the client has to load them all individually 'cause they still are in different files on the server.

    If you want to combine the Styles into one file just do it manually or on server-side.

    Furthermore you could minify your CSS with an online tool to make the file's size smaller.

提交回复
热议问题