Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> article { display: grid; grid-template-columns: auto auto auto; grid-gap: 25px; padding: 20px; background-color: #7cbf7c; } article div { text-align: center; font-size: 35px; background-color: #ffffff; padding: 30px 0; } article div:first-child { grid-column-end: span 3; } </style> </head> <body> <article> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> </article> </body> </html>