<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>HTML</title>
<link rel="stylesheet" href="main.css" type="text/css" />
</head>
<body>
<div id="wrapper">
<div class="line"></div>
<div class="textbox">
<div class="text">This is my Title</div>
</div>
</div>
</body>
</html>
h1 {
position: relative;
font-size: 30px;
z-index: 1;
overflow: hidden;
text-align: center;
}
h1:before, h1:after {
position: absolute;
top: 51%;
overflow: hidden;
width: 50%;
height: 1px;
content: 'a0';
background-color: red;
}
h1:before {
margin-left: -50%;
text-align: right;
}
.color {
background-color: #ccc;
}
Code Example |
---|
Html :: switch page html |
Html :: html auto refresh |
Html :: html phone number |
Html :: random image |
Html :: disabled input fields vue |
Html :: how to color div html |
Html :: font awesome tag |
Html :: bootstrap position fixed |
Html :: ng for until number |
Html :: href add delay |
Html :: html entity at sign |
Html :: how to like css to html |
Html :: how to enable button after checked |
Html :: html code example |
Html :: bootstrap 4 6 cdn |
Html :: html align text center |
Html :: html input datetime-local value from mysql date time |
Html :: navbar bootstrap |
Html :: html iframe example |
Html :: html how to change background color |
Html :: routerlinkactiveoptions |
Html :: class vs id in html |
Html :: html images with link |
Html :: BORDERS WITH TEXT IN IT |
Html :: route link prop vue |
Html :: html space tag |
Html :: iframe html |
Html :: vscode format html on save |
Html :: javascript button href html |
Html :: how to make a enter in html |