GeemanKan Posted May 9, 2014 Share Posted May 9, 2014 Hey, I have a div container with rounded edges using border-radius. I was wondering how to make a nested div which only 2 of the sides have round edges so i can place it at the top or bottom of the container and give it a different background color/formatting. Link to comment Share on other sites More sharing options...
dsonesuk Posted May 9, 2014 Share Posted May 9, 2014 border-radius: 10px; all corners, border-radius: 10px 0 5px 10px; (can't remember if it is like margins as in order of top right bottom left ) to target specific corners. Link to comment Share on other sites More sharing options...
GeemanKan Posted May 9, 2014 Author Share Posted May 9, 2014 Thank you 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