Treehouse: Grow your CSS skills. Land your dream job.

Adding a black bar behind Big Date?

  • # June 11, 2010 at 5:16 pm

    Hey again!

    I was wondering if any of you could tell me how to put a black bar behind the big dates that are on my featured pictures on the index page? I’d like it to come from the left hand side of each and extend just a bit above and beyond the big date ( 11 Jun )

    Bare with me…this site is still a work in progress.


    # June 11, 2010 at 9:07 pm

    Add to .home .class .bigdate
    background: #000;
    and change the
    padding: 5px 10px 5px 15px; or something similar.

    However if you do that you can remove the text shadow on .bigdate as it will no longer show on black.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.