Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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! :)