CSS - background linear both directions (gradient background)

0 votes
204 views
added Aug 17, 2022 in CSS by lcjr First Warrant Officer (11,530 points)
background: linear-gradient(to left, #f3f3f3, #ffffff);
background: linear-gradient(to right, #f3f3f3, #ffffff);

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...