Line-On-Sides Headers
How do I make an line-on-sides headers?
How to add lines to the sides of headers with CSS.. What is a line-on-sides headers? How do you make a line-on-sides headers? This script and codes were developed by Ricardo Zea on 28 September 2022, Wednesday.
Line-On-Sides Headers - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Line-On-Sides Headers</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1 class="side-lines">Line-On-Sides Headers</h1>
<h2 class="side-lines">Line-On-Sides Headers</h2>
<h3 class="side-lines">Line-On-Sides Headers</h3>
<div class="wrapper"> <p class="side-lines">Line-On-Sides Headers</p> <p>Here's a problem...</p>
</div>
<p>A personal excercise for the <a href="https://css-tricks.com/line-on-sides-headers/">Line-On-Sides Headers</a> article on css-tricks.com</p>
<p>Created by <a href="http://ricardozea.me/">Ricardo Zea</a></p>
</body>
</html>
Line-On-Sides Headers - Script Codes CSS Codes
/*Important stuff*/
.side-lines { background: #eee;
}
.side-lines:before, .side-lines:after { position: absolute; width: 10%; height: 3px; content: ''; border-top: 1px solid #000; border-bottom: 1px solid #000; margin-top: .50em;
}
.side-lines:before { margin-left: -11%;
}
.side-lines:after { margin-left: 1%;
}
.wrapper { width: 300px; margin: auto; background: #999; padding: 1px;
}
/*Styling stuff*/
body { text-align: center; padding-top: 50px;
}
a { color: #369;
}
a:hover { color: #6699cc; text-decoration: none;
}
Developer | Ricardo Zea |
Username | ricardozea |
Uploaded | September 28, 2022 |
Rating | 3 |
Size | 2,259 Kb |
Views | 20,240 |
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 |
CSS Blinking Text Cursor | 3,294 Kb |
Sass mixin for Inside Borders | 17,268 Kb |
Simple aqua button with CSS | 5,106 Kb |
CSS Shapes with Sass | 5,726 Kb |
CSS Triangles and Arrows | 4,360 Kb |
03 - Custom CSS Grid - Floats | 5,018 Kb |
Simple Sass Mixin for Width and Height | 4,523 Kb |
Sass Mixin for Links | 3,743 Kb |
Responsive Table CSS | 7,571 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 |
Freecodecamp - Tribute Page | Samoht513 | 3,583 Kb |
BabyStore | Pablo-Ai | 3,807 Kb |
Slide In Panel | Vikvarg | 2,811 Kb |
Sitemap generator for Sharepoint | Gyusza | 2,518 Kb |
Airbnb Homepage | SindhujaD | 2,480 Kb |
Header Line Issue | Charlie-volpe | 1,768 Kb |
Touch Carousel - last, no gaps. | Berkin | 4,332 Kb |
Reading Grid | Tappily | 4,306 Kb |
Wip elementary os navbar | Nickcolley | 2,993 Kb |
Two joint circles - One element | Berdejitendra | 1,704 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!