Header Line

Developer
Size
3,696 Kb
Views
4,046

How do I make an header line?

A responsive solution for making a spanning header line. Works with any background.. What is a header line? How do you make a header line? This script and codes were developed by Keyamoon on 25 January 2023, Wednesday.

Header Line Previews

Header Line - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Header Line</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .hdrLine1 {	overflow: hidden;	height: 1.5em; color: rgba(0,0,0,.4); font-size:2em;
}
.hdrLine1:after { color: transparent; background: rgba(0,0,0,.4); font-size: .25em; margin-left: 2em; line-height: 3.5em; vertical-align: bottom;	content: ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -';
}
.frame1 { max-width: 50em; padding: 1em; background: rgba(255,255,255,.4); box-shadow: inset 0 0 0 2px #fff, 0 1em 1em -.5em rgba(0,0,0,.4); border-radius: .5em;
}
.centered { margin-left: auto; margin-right: auto;
}
body { color: #333; margin: 1em; background-color: #ccc;	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIG9wYWNpdHk9IjAuMTUiIHBvaW50cz0iMTYsMCAwLDE2IDAsMzIgMzIsMCAiLz4NCjxwb2x5Z29uIG9wYWNpdHk9IjAuMTUiIHBvaW50cz0iMzIsMTYgMTYsMzIgMzIsMzIgIi8+DQo8L3N2Zz4NCg==);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <section class="frame1 centered">	<h1 class="hdrLine1">Header Line</h1> <p>This solution is responsive and works with any background.</p> <p>Some random text, only to fill the space. You shouldn't read this. Because there's no point in doing so. You'd be wasting your time and energy if you read this. And you won't get this time back, ever. It would be wasted for ever and ever. So why in the hell are you still reading? You must be out of your mind. You know you will die some day. You may remember this day when in your death bed and regret the fact that you wasted some time, reading a meaning less message. So you're still reading? I wonder why. I'm going to finish this message <em>right now</em>. I lied, I still have more text for you; to read, to waste your life. You know what? you're not worthy of my time. Bye.</p>
</section>
</body>
</html>

Header Line - Script Codes CSS Codes

.hdrLine1 {	overflow: hidden;	height: 1.5em; color: rgba(0,0,0,.4); font-size:2em;
}
.hdrLine1:after { color: transparent; background: rgba(0,0,0,.4); font-size: .25em; margin-left: 2em; line-height: 3.5em; vertical-align: bottom;	content: ' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -';
}
.frame1 { max-width: 50em; padding: 1em; background: rgba(255,255,255,.4); box-shadow: inset 0 0 0 2px #fff, 0 1em 1em -.5em rgba(0,0,0,.4); border-radius: .5em;
}
.centered { margin-left: auto; margin-right: auto;
}
body { color: #333; margin: 1em; background-color: #ccc;	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMyIDMyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIG9wYWNpdHk9IjAuMTUiIHBvaW50cz0iMTYsMCAwLDE2IDAsMzIgMzIsMCAiLz4NCjxwb2x5Z29uIG9wYWNpdHk9IjAuMTUiIHBvaW50cz0iMzIsMTYgMTYsMzIgMzIsMzIgIi8+DQo8L3N2Zz4NCg==);
}
Header Line - Script Codes
Header Line - Script Codes
Home Page Home
Developer Keyamoon
Username Keyamoon
Uploaded January 25, 2023
Rating 3
Size 3,696 Kb
Views 4,046
Do you need developer help for Header Line?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Keyamoon (Keyamoon) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!