-1

I am just brainstorming design ideas and this one has me a little stumped. I want to be able to individually round the sides of a box. Such as three sides of the box are still square and the fourth side is rounded or curved. My own experiments haven't come anywhere close and Google only comes back with rounded corners (border radius). It seems like it should be simple enough, but clearly I am missing something.

Anybody have any thoughts? Thanks.

2
  • How does border-radius not solve your problem? What's your HTML, what CSS have you tried? What end result - a picture would probably be useful - do you want? Commented Dec 7, 2016 at 23:42
  • Possible duplicate of Rounded side, not rounded corners Commented Dec 8, 2016 at 1:03

1 Answer 1

1

I found another similar answer:

Here is the jsfiddle: http://jsfiddle.net/swqZL/

CSS for element div with class "figure":

.figure {
height: 400px;
width: 200px;
background-color: black;
border-bottom-left-radius: 100%30px;
border-bottom-right-radius: 100%30px;    
}

Horizontal radius 100%, vertical radius 30px

Sign up to request clarification or add additional context in comments.

3 Comments

If you found an answer to this problem elsewhere on this site then this question is almost certainly a duplicate of that other question.
You are right it is a duplicate of stackoverflow.com/questions/14508148/… . I don't have a view on my screen to mark as duplicate
Thank you for your answer Sidney. I don't know why rounded both corners didn't occur to me, but it didn't. To David and the rest, I apologize.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.