TutorialKart
index.html
►
Run
Reset
<!DOCTYPE html> <html> <head> <style> .parent { display: flex; justify-content: space-between; } .child { width: 30%; padding: 10px; background-color: #f1f1f1; border: 1px solid #ddd; } </style> </head> <body> <h2>Nested Div Example</h2> <div class="parent"> <div class="child">Box 1</div> <div class="child">Box 2</div> <div class="child">Box 3</div> </div> </body> </html>