Home  >  Article  >  Web Front-end  >  How to write JS and CSS in the same file_javascript skills

How to write JS and CSS in the same file_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:12:53994browse

We often merge multiple CSS or multiple JS into one to save requests, but this still requires at least two. I saw on the MSDN Blog that it is possible to combine JS and CSS in one file. How to do it? Using comments, take a look at the code first.