Mahesh Yadav• 1,220
@Mahesh-yadav
Posted
Hi
To set a linear-gradient on the top border, you can use background property.
background: var(--gradient-instagram);
background-size: 100% .4rem;
background-repeat: no-repeat;
0
Looking to hire developers?
i wasn't able to make the top-border-color to have a lineat-gradient color
@Mahesh-yadav
Posted
Hi
To set a linear-gradient on the top border, you can use background property.
background: var(--gradient-instagram);
background-size: 100% .4rem;
background-repeat: no-repeat;
@AlexLMCode
Posted
Hey!, you can use the pseudo elements ::after and ::before in the container elements and put them a linear-gradient.
-Greetings, Alex.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord