HTML divide parent div into child its with 20% and 80% of parent height. | Sololearn: Learn to code for FREE!

+1

HTML divide parent div into child its with 20% and 80% of parent height.

I want to create a user section in HTML where I have to divide A div in two child divs where the first child will have 20% of its parent height and the second one will have 80% of its parent div

1/7/2021 5:06:01 AM

Lucky Pandey

4 Answers

New Answer

0

What is preventing you from attempting it and showing your progress?

0

I'm little bit confused with my code.

0

access the codeplayground and save your codebit. Then share it here. That way we can see where it went wrong.

0

Use flexbox with flex selector https://code.sololearn.com/Wcsg5lXDYE8Y/?ref=app