CSS Gradient not functioning in DreamWeaver?

Discussion in 'HTML & Website Design' started by MaxTitan, Jan 23, 2016.

  1. #1
    Hello Community,

    I am simply trying to make a basic gradient in Dream Weaver. I learned how to do this from a Umedy tutorial and I ran into a problem with RBRACE, so I looked it up on 3wschools and they started their declaration with simple background: long story short my DreamWeaver doesn't seem to recognize this:

    background-image: linear-gradient (to bottom, #C74345, #FFF);

    anyone see something wrong?

    It may be of importance to mention I do have a hover property on that div. Which works fine.
     
    MaxTitan, Jan 23, 2016 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Change the background-image: to background:, get rid of the "to bottom" (if you're trying to have something go from top to bottom, that is default, no need for anything but the colors)

    Otherwise, have a look here: http://www.w3schools.com/css/css3_gradients.asp

    Third: stop using Dreamweaver. You learn nothing useful, and the code it spits out... just use a standard text-editor: Notepad++, Atom, Sublime Text, or any other that takes your fancy.
     
    PoPSiCLe, Jan 23, 2016 IP