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

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