imranali586 0 Posted September 11, 2020 Report Share Posted September 11, 2020 (edited) we can use gradient background, gradient text by CSS but can we use gradient border by CSS? i find one hack of gradient border but i want that it is possible by border property? Edited September 11, 2020 by Ingolme Removed advertising links Quote Link to post Share on other sites
dsonesuk 921 Posted September 11, 2020 Report Share Posted September 11, 2020 Just use outer container with gradient background and border width padding, then add inner container with required background color make it so it fills the whole outer container area to padding. Quote Link to post Share on other sites
Sherin 1 Posted October 26, 2020 Report Share Posted October 26, 2020 You can use linear-gradient property in css . It is used for gradient border background : linear-gradient(to right , blue, red); for further details you can follow this link. Gradient Borders Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.