CSS is sort of similar to BBcode except more powerful. Basically what I did was have a basic understanding of how code works, a basic understanding of web syntax and how it works, and just took pre-made code from tutorials and edited it to my liking.