It's hard to tell what you should do, because it's a matter of preference. CSS is for styling web pages. PHP is for backend logic. But you can learn them at the same time, because they are independent and serve for different purposes.
Back to your question, do CSS definitely after HTML.