Why am I not getting the fade effect in the linear-gradient by default? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why am I not getting the fade effect in the linear-gradient by default?

Here is the link to my code- https://codepen.io/DeepChatterjee95/pen/rQNbyg I am getting a sharp edge between two colors in the linear gradient property. What I wanted was a fade front one color to another like its supposed to be as default. I am using background: linear-gradient( 90deg, rgb(235,236,237) 90% , rgb(209,213,214) 20%); I have tried with hex colors before. Please refer to my link and tell me what I am doing wrong.

4th Nov 2018, 8:41 AM
Snehadeep Chatterjee
Snehadeep Chatterjee - avatar
4 Answers
+ 1
Happy to help. šŸ˜
4th Nov 2018, 9:17 AM
Janningā­
Janningā­ - avatar
4th Nov 2018, 9:03 AM
Janningā­
Janningā­ - avatar
+ 1
Janningā­ IT WORKED!!! It was spot on! Thank you so much.
4th Nov 2018, 9:10 AM
Snehadeep Chatterjee
Snehadeep Chatterjee - avatar
0
Hereā€™s a full tutorial on CSS Graidents including how to use the linear-gradient property: https://youtu.be/TYHFe4L9bfo
25th Oct 2019, 10:16 AM
Dev Dreamer - YouTube
Dev Dreamer - YouTube - avatar