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

Is it possible something similar?

  • # April 17, 2013 at 7:41 pm

    Here’s what I want:

    Is it possible to make this kinda of green brush background for dynamic text?

    # April 17, 2013 at 7:46 pm

    do you want that in css?

    # April 18, 2013 at 10:25 am

    I think is impossible in CSS so any solution in javascript is fine for me.

    # April 18, 2013 at 10:55 am

    I guess you could do it with a background image but I wouldn’t.

    # April 18, 2013 at 11:33 am

    @Paulie_D, why wouldn’t you do it as a background image?

    # April 18, 2013 at 11:45 am

    Because you would have to stretch the image to cover different text widths. I suspect the image wouldn’t scale well.

    Frankly, I just don’t think the result would be worth it….not to mention really fugly for large text blocks.

    Oh…and I think you would have to set the text as inline (based on the image)…but I’m not sure on that one.

    # April 18, 2013 at 11:57 am

    Actually, on thinking about it…you only want to apply this to the text (not the paragraph element say)…so how do you select that anyway?

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

You must be logged in to reply to this topic.