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! While you're at it, check out some resources Treehouse students have shared here.
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
yang fei
7,184 PointsWhen I add two different buttons, there is a styling problem..
.spoiler, .spoiler2 { background: #1d3c6a; width: 440px; margin: 0 auto 20px; border-radius: 5px; padding: 40px 20px; text-align: center; font-size: 24px }
.spoiler span, .spoiler2 span { color: #dae1e4; }
I named the other class spoiler2, and the JS ran well, but on the page the spoiler2 button didn't match its span and it looked ugly
1 Answer
yang fei
7,184 PointsOK I have fixed this