I usually think of what I'll put on a web page first (Like information on a character or images), then I program all of that, then I do CSS stuff to fit with the theme of the page.I update the looks and information on it when I think of new things or like the look of something.