+ 1

How to use linear gradient

30th Aug 2017, 11:42 AM
Yogesh Sharma
Yogesh Sharma - avatar
2 Antworten
+ 4
use it for coloring background and text ex: body { background: -webkit-linear-gradient(direction, color width, color width); } direction used for gradient direction. the direction is top, top-left, left, bottom-left, bottom, bottom-right, right, and top-right. color used for the gradient color. you can use color name, hex color, rgb color, or hsl color. width used for the gradient width. you can use px, em, pt, %. not to advertise, but hope this help you. i use it for making flag in this code https://code.sololearn.com/WCPZD2qNMXJc/?ref=app i use it too for making button in this code https://code.sololearn.com/WGbHSxdpp5r2/?ref=app
30th Aug 2017, 12:08 PM
Amethyst Animion
Amethyst Animion - avatar
30th Aug 2017, 11:59 AM
Luca
Luca - avatar