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

so are we leaving the previous .t-border{ border-top: 2px solid lightgrey; } in place? I have been using light grey

i have been using grey, but it seems ass if we are using two separate border classes as examples. I am wondering do i remove the previous t-border class

Can you post a link to the course?

1 Answer

Ezra Siton
Ezra Siton
12,644 Points

"Last win"

.text-color{
   background: red;
}

.text-color{
  background: blue;
}

HTML

<div class="text-color">I am blue</div>

The same idea for strokes.

.border{
  border: 5px solid red;
}

.border{
  border: 5px solid blue;
}

HTML

<div class="border">I am blue stroke div</div>

Video Related:

SUM: Hard to answer your Q without code-example and/or more details - but this is the idea in general.

thank you Ezra