The linear-gradient() CSS method generates a picture with a gradual transition between two or more colours in a straight line. Its output is an object of the data type, which is a subset of the data type.
In CSS, a gradient is a unique form of picture that consists of a gradual and smooth transition between two or more colours. CSS is a style sheet that may be applied to a variety of web publications. We may create different picture styling options with CSS gradients, which can help us design a more appealing webpage.
Gradients are divided into three categories: linear, radial, and conic.
We choose two places on the line itself to determine the gradient of a straight line. The difference in height (y co-ordinates) and width (x co-ordinates). If the answer is a positive number, the line is going uphill. If the answer is a negative number, the line is going downhill.
It is better for control and performance to use gradients expressed in CSS rather than an actual image file. Gradients are normally one colour that fades into another, but you can control every part of how that happens in CSS, from the direction to the colours (as many as you want) to the location of the colour changes.
Learner's Ratings
4.3
Overall Rating
69%
15%
7%
4%
5%
Reviews
R
Rudra
4
Sir thanks a lot
S
Shubham Shinde
5
good
C
Chandan kumar sharma
4
aap jo is video me bata rahe hai ki pahle ye sab padha hai position ke bare me to kaha padhaye hai abhi tak wo sab ?
M
Monika Rana
5
Great Explaination!
V
Vishal
5
Its really good teacher
Best explanation
N
Neha Chaprana
5
all good
V
Vivek kumar
5
forums feature is not working ☹️
Q
Qitmeer Raza
5
This Course Is Very Helpful For Beginners !! THANKS, A LOT
Share a personalized message with your friends.