Sunamena Posted August 5, 2016 Share Posted August 5, 2016 Hello everyone. Thanks in advance for helping me again. It is very much apreciated.This is what i have: And this is what i want to achieve: It is a <li> element.How do i make the background color/gradient start 10% after rge background image?Same for the border.Thankyou very much =D Link to comment Share on other sites More sharing options...
Nikolas96 Posted August 28, 2016 Share Posted August 28, 2016 (edited) you can use linear gradient. and use rgba color to set opacity of first 10% of background color to 0. like this: linear-gradient(to right, rgba(255,0,0,0) 10%, rgba(255,0,0,1) 10%); use this code start bg color start 10% after rgb bg image... Edited August 28, 2016 by Nikolas96 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