Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #320079

    I’d like to add gradients background to whole page using uigradients ( http://uigradients.com/#DayTripper ).

    I tried typing following code at QuickCSS, but it didn’t work.

    body {
    background: -webkit-linear-gradient(20deg, #f857a6 10%, #ff5858 90%); /* Chrome 10+, Saf5.1+ */
    background: -moz-linear-gradient(20deg, #f857a6 10%, #ff5858 90%); /* FF3.6+ */
    background: -ms-linear-gradient(20deg, #f857a6 10%, #ff5858 90%); /* IE10 */
    background: -o-linear-gradient(20deg, #f857a6 10%, #ff5858 90%); /* Opera 11.10+ */
    background: linear-gradient(20deg, #f857a6 10%, #ff5858 90%); /* W3C */
    }

    Could you tell me how to add gradient on whole page?

    #320082

    Hi idpokute!

    Please use following code instead

    #main .main_color {
    background: -webkit-linear-gradient(20deg, #f857a6 10%, #ff5858 90%);
    background: -moz-linear-gradient(20deg, #f857a6 10%, #ff5858 90%);
    background: -ms-linear-gradient(20deg, #f857a6 10%, #ff5858 90%);
    background: -o-linear-gradient(20deg, #f857a6 10%, #ff5858 90%);
    background: linear-gradient(20deg, #f857a6 10%, #ff5858 90%);
    }

    Regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.