How to apply CSS Styles to Page Elements

Well, you give some of your elements one of the classes that you have described in the custom code.

But you can give all those properties to your elements inside designer, why did you need custom code in the first place?