newcoder1010 Posted March 10, 2021 Share Posted March 10, 2021 Hello, .page-node-6 .hero .contain { background: rgb(39 108 3 / 50%); } Background color now applies to the entire .contain element equally(50%). How can I modify the styling to the background color like this: left side (about 50px) - 10% color Right side (about 20px) - 10% color between left and right - 50% color. Thanks! Link to comment Share on other sites More sharing options...
niche Posted March 10, 2021 Share Posted March 10, 2021 (edited) Sub divide your page into <div></div> and give each div an id. Edit: Then, you can do whatever you want, with each id. Edited March 10, 2021 by niche 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