The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Graident Style Apply In Text Using CSS

  • # May 6, 2013 at 12:08 pm

    Hello Guy’s,

    Any one knows about the how to apply gradient style in text using CSS.

    Please give the solution as earlier possible

    # May 6, 2013 at 12:14 pm

    Hi Paulie_D

    Thanks for the giving solution but dude i need proper solution with cross-browsing.

    # May 6, 2013 at 1:46 pm

    What kind of gradient? You can do some trickery with a gradient overlay with the same color as the background, but different alpha values so it appears the text has the gradient. There is some css property to make the text selectable again too, don’t know which.

    Anyway only works if the gradient is the same color as the background, for example to give text a shade on a black background or a highlight on a white background.

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

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed