Minimalist Lines Headings - 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>Minimalist Lines Headings</title> <style> @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap'); body { font-family: 'Roboto', sans-serif; background: #f0f0f0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; margin: 0; color: #333; } h1, h2, h3, h4, h5, h6 { margin: 20px 0; padding: 10px 20px; border-left: 5px solid #333; border-right: 5px solid #333; background: #fff; color: #333; transition: all 0.3s ease; } h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover { border-left: 5px solid #ff6347; border-right: 5px solid #ff6347; } h1 { font-size: 3em; } h2 { font-size: 2.5em; } h3 { font-size: 2em; } h4 { font-size: 1.75em; } h5 { font-size: 1.5em; } h6 { font-size: 1.25em; } </style> </head> <body> <h1>Minimalist Lines Heading 1</h1> <h2>Minimalist Lines Heading 2</h2> <h3>Minimalist Lines Heading 3</h3> <h4>Minimalist Lines Heading 4</h4> <h5>Minimalist Lines Heading 5</h5> <h6>Minimalist Lines Heading 6</h6> </body> </html>