when i try to validate my Gradient css via CSS3 W3.org Validator it’s shown error
Sorry! We found the following errors (5)
My code is
background: linear-gradient(top, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well Rizwan, First of All the site you are using http://jigsaw.w3.org/css-validator/#validate_by_input is not supporting CSS3 completely.
From: About the CSS Validator
If you look into bugs and issues you will find a bug for: linear-gradient as a background-image, it does not recognize linear-gradient.
-webkit-gradient is browser specific and w3.org validator will not recognize it.
Final advice, don’t rely too much on validators, they may help you spotting an error but they are not 100% correct. For CSS3 its better if you test these properties in browser and see if they are working.