সম্পাদনা
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .container { width: 300px; height: 80px; border: solid black 1px; display: grid; grid-template-columns: repeat(3, 50px); gap: 5px; margin-bottom: 10px; } .container > div { height: 40px; background-color: coral; } .start { justify-content: start; } .end { justify-content: end; } .center { justify-content: center; } .space-between { justify-content: space-between; } .space-around { justify-content: space-around; } .space-evenly { justify-content: space-evenly; } </style> </head> <body> <div class="container start"> <div></div> <div></div> <div></div> </div> <div class="container end"> <div></div> <div></div> <div></div> </div> <div class="container center"> <div></div> <div></div> <div></div> </div> <div class="container space-between"> <div></div> <div></div> <div></div> </div> <div class="container space-around"> <div></div> <div></div> <div></div> </div> <div class="container space-evenly"> <div></div> <div></div> <div></div> </div> </body> </html>
পূর্বরূপ