imranali586 Posted September 11, 2020 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 Link to comment Share on other sites More sharing options...
dsonesuk Posted September 11, 2020 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. Link to comment Share on other sites More sharing options...
Sherin Posted October 26, 2020 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now