Heading with a line divider
How do I make an heading with a line divider?
What is a heading with a line divider? How do you make a heading with a line divider? This script and codes were developed by Tywlacock on 19 December 2022, Monday.
Heading with a line divider - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Heading with a line divider</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel='stylesheet prefetch' href='css/lgzia.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! */ body { text-align: center; padding: 2%;
}
h2 { position: relative; text-align: center;
}
h2 span { background: #456789; z-index: 2; position: relative; padding: 0 10px;
}
h2:after { content: ''; display: inline-block; position: absolute; z-index: 1; top: 16px; left: 0; width: 100%; border-bottom: 2px solid #ccc;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <h2> <span>Some Heading</span>
</h2>
</body>
</html>
Heading with a line divider - Script Codes CSS Codes
body { text-align: center; padding: 2%;
}
h2 { position: relative; text-align: center;
}
h2 span { background: #456789; z-index: 2; position: relative; padding: 0 10px;
}
h2:after { content: ''; display: inline-block; position: absolute; z-index: 1; top: 16px; left: 0; width: 100%; border-bottom: 2px solid #ccc;
}
Developer | Tywlacock |
Username | tywlacock |
Uploaded | December 19, 2022 |
Rating | 3 |
Size | 5,204 Kb |
Views | 10,120 |
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!
Name | Size |
A Pen by tywlacock | 5,308 Kb |
Simple tabs | 2,908 Kb |
Definition List styling | 1,667 Kb |
Tabbed Slider | 2,920 Kb |
Responsive Schedule of Events | 6,148 Kb |
CSS-Tricks Subscribe Box | 5,708 Kb |
Material design with materialize | 1,838 Kb |
Basic Reset | 5,044 Kb |
Playing with Foundation 5 | 2,608 Kb |
Triangle mixin | 1,879 Kb |
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!
Name | Username | Size |
Css Rotating 3d cubes different speed | Dghez | 2,364 Kb |
Learning canvas drawing | Aurer | 2,204 Kb |
404 Error Page | WebSonick | 3,203 Kb |
Barber Shop | Bhlaird | 6,270 Kb |
Day 1 - Portfolio | Chpecson | 3,532 Kb |
Testimonial Fancy tabs responsive | Amit-webdesigner | 3,056 Kb |
Weird glowy CSS3 game | Toneworm | 3,684 Kb |
Email Marketing Mock | Kristenzirkler | 8,224 Kb |
Opening Reveal Modal On Document Ready | Winghouchan | 1,787 Kb |
Mesmerizing octopus | Jllodra | 3,549 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!