Border Columns - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Border Columns</title> <style> body { font-family: 'Arial', sans-serif; background-color: #f9f9f9; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .container { display: flex; justify-content: space-around; align-items: center; width: 80%; } .column { flex: 1; padding: 20px; margin: 10px; text-align: center; background: #fff; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border: 2px solid transparent; transition: border 0.3s ease, box-shadow 0.3s ease; } .column:hover { border: 2px solid #007bff; box-shadow: 0 8px 16px rgba(0,0,0,0.2); } .column h2 { font-size: 24px; margin-bottom: 20px; } .column p { font-size: 16px; color: #555; } </style> </head> <body> <div class="container"> <div class="column"> <h2>Border 1</h2> <p>Interactive border effect</p> </div> <div class="column"> <h2>Border 2</h2> <p>Engaging and attractive</p> </div> <div class="column"> <h2>Border 3</h2> <p>Modern design</p> </div> </div> </body> </html>