Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Am I right?-pixel values after color stops in radial gradients

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41299
    chickentulip
    Member

    I am not sure if I properly interpret the meaning of pixels after the color stops.
    Can someone read my assumptions and tell me if I am correct?

    This is the code

    background: -moz-radial-gradient(400px 50%, circle, orange 10px, #fff 38px, lightblue 80px);

    pardon my bad English.. I hope I will make sense

    1. I interpret: “orange 10px” as the pure orange will last for 10px from the center.

    2. I interpret “#fff 38px” as white will last for 38px from the center as well. And from point of 10px to 38px on the radius, there will be a transition from orange to white.

    3. I interpret “lightblue 80px” as pure lightblue starts from 80px from the center, and there is a trasition from white to lightblue strating from 38px to 80px along the radius.

    The final assumption is that the radius of the inner circle is 80px.

    Am I right?

    Thank you so much for helping me.

    #119852
    chickentulip
    Member

    thanks all for help!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.