How do I edit and create div classes so that I can alter

How do I edit and create div classes so that I can alter buttons etc.?