how to declare percentage in brackets of linear gradients | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to declare percentage in brackets of linear gradients

isn't it declare sizes of color?

14th Oct 2018, 9:23 AM
Vivek Garg
Vivek Garg - avatar
15 Answers
+ 4
Happy to help. šŸ™‚
14th Oct 2018, 2:00 PM
Janningā­
Janningā­ - avatar
+ 2
Why describe it when you can already see it under Try It and play with it in the Code Playground?
14th Oct 2018, 9:47 AM
Janningā­
Janningā­ - avatar
14th Oct 2018, 11:36 AM
Janningā­
Janningā­ - avatar
+ 2
thanx janning, i got it, here, percentage doesn't describe the size of color but it shows where color will stop (or will show a line) i.e, at 10%, 20% 30% etc
14th Oct 2018, 12:31 PM
Vivek Garg
Vivek Garg - avatar
+ 1
when we distribute the color in this way (blue 20%, green 30%, yellow 50%,) then it shows well. but when we increases the percentage of yellow color then it started to decrease the size of yellow color why?
14th Oct 2018, 10:57 AM
Vivek Garg
Vivek Garg - avatar
+ 1
Every website is different, so it would be weird to have one course for all different combinations. Technically, you can make a website with just HTML. Many programs are made with just one language. Just come up with a plan with which features you want to put into your website and look up information on how to implement each of them one piece at a time. Your plan may change as you find new things, but that's the beauty of learning as you go. Here's something that covers stuff you don't actually have to know until after you make your first static site: https://www.sololearn.com/learn/7896/?ref=app But I would really encourage you to make something with what you know already before adding more to your plate.
24th Oct 2018, 5:28 PM
Janningā­
Janningā­ - avatar
0
background-image: linear-gradient(direction,Ā color-stop1,Ā color-stop2, ...); "Color stops are the colors you want to render smooth transitions among. This value consists of a color value, followed by an optional stop position (a percentage between 0% and 100% or a length along the gradient axis)." Source: https://www.w3schools.com/cssref/func_linear-gradient.asp
14th Oct 2018, 9:32 AM
Janningā­
Janningā­ - avatar
0
sololern described 3 colors like this: blue 20%, yellow 30%, green 85% then describe the output in detail please...
14th Oct 2018, 9:41 AM
Vivek Garg
Vivek Garg - avatar
0
what course should be done after html-> css-> javascript -> -----
23rd Oct 2018, 3:07 PM
Vivek Garg
Vivek Garg - avatar
0
It depends on what you want to do / make. You can stick with front-end and learn front-end frameworks (Bootstrap, Angular, React, etc.), do SEO related stuff (Schema, etc.) , move to the back-end (PHP, Node.js, etc.), or mobile apps (Android and iOS each have their own stuff), or something else entirely. Depends on what interests you. šŸ™‚
23rd Oct 2018, 7:18 PM
Janningā­
Janningā­ - avatar
0
i want to make my own website for English Classes material
24th Oct 2018, 6:44 AM
Vivek Garg
Vivek Garg - avatar
0
You probably know enough to do that already, depending on the features you want to include.
24th Oct 2018, 7:08 AM
Janningā­
Janningā­ - avatar
0
may i prepare website myself
24th Oct 2018, 7:13 AM
Vivek Garg
Vivek Garg - avatar
0
Seems like a good idea. Once you have the code worked out and you're ready to publish the website, you can read up on domain names and hosting services.
24th Oct 2018, 7:57 AM
Janningā­
Janningā­ - avatar
0
But... My mind is boggling that hiw can i prepare website with only html, css, and javascript. don't we need any special course for it
24th Oct 2018, 8:00 AM
Vivek Garg
Vivek Garg - avatar