I have a PHP script that has two CSS files in it’s header. One of the CSS files only have about 5 short lines in it.
Is is safe to move that one into the larger CSS file? What’s the point of having two separate CSS files when one is only a few lines?
Yes their is a point in it. I have for example a design.css that handles all of the colors, a layout.css pure for positioning and sizes and I have a interaction.css which handles the animations etc..
file1.css
file2.css
results in on file containing the below code in the same order: