Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Julius Gehrig
Julius Gehrig
16,110 Points

Treehouse buttons CSS practice

Hey fellow Treehouse students! :)

I just tried to recreate the Treehouse buttons in CSS for practice and wanted to share my code with you: http://codepen.io/anon/pen/HBwIb Feel free the use / modify / whatever this CSS :)

Any suggestions on how to improve it?

Cheers, Julius

2 Answers

Tom Bedford
Tom Bedford
15,645 Points

Hi Julius, that's a nice looking button!

You could work on improving it by adding :hover, :focus and :active states for when people interact with it.

Julius Gehrig
Julius Gehrig
16,110 Points

Thanks for your feedback Tom! yeah i was thinking about adding those states to it! :)