Hi Rose,
CSS and page does not take much time to load. It’s your Data retrieval operations that take time. So you need to optimize them. If you are using * in select query then select only required column name. Except that can't do anything with the code.