Line-On-Sides Headers

Developer
Size
2,259 Kb
Views
20,240

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 Previews

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;
}
Line-On-Sides Headers - Script Codes
Line-On-Sides Headers - Script Codes
Home Page Home
Developer Ricardo Zea
Username ricardozea
Uploaded September 28, 2022
Rating 3
Size 2,259 Kb
Views 20,240
Do you need developer help for Line-On-Sides Headers?

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!

Ricardo Zea (ricardozea) Script Codes
Create amazing love letters 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!