Horizontal rule decorations
How do I make an horizontal rule decorations?
Using the HR tag as decorative element.. What is a horizontal rule decorations? How do you make a horizontal rule decorations? This script and codes were developed by Dirk Drijkoningen on 19 January 2023, Thursday.
Horizontal rule decorations - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Horizontal rule decorations</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <p>Horizontal rule styling examples</p>
<br/>
<hr class="heart"/>
<br/>
<hr class="cutoff"/>
<br/>
<hr class="artdeco"/>
<br/>
<hr class="necklace"/>
<br/>
<hr class="airplane"/>
</body>
</html>
Horizontal rule decorations - Script Codes CSS Codes
hr { position: relative;
}
/* Heart ruler */
.heart { background: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1), rgba(255,0,0,0)); width: 100%; height: 3px; color: transparent;
}
.heart:after { content: '\002665'; position: absolute; left: 49.1%; top: -12px; padding: 0 3px; font-size: 18px; color: red; background: white;
}
/* CutOff ruler */
.cutoff { width: 100%; color: transparent;; border-top: 3px dashed lightgrey;
}
.cutoff:after { content: '\002702'; position: absolute; left: 5.4%; top: -15px; padding: 0 3px; font-size: 18px; color: grey; background: white;
}
/* Art Deco ruler */
.artdeco { background: linear-gradient(to right, rgba(0,0,0,0), rgba(128,128,128,1), rgba(0,0,0,0)); width: 100%; height: 3px; color: transparent;
}
.artdeco:after { content: '\002022\002022\002756\002022\002022'; position: absolute; left: 47.6%; top: -18px; padding: 0 3px; font-size: 24px; color: grey; background: white;
}
/* necklace ruler */
.necklace { background: linear-gradient(to right, rgba(0,0,0,0), rgba(200,160,0,1), rgba(0,0,0,0)); width: 100%; height: 3px; color: transparent;
}
.necklace:after { content: '\00014D\00014D\00014D'; position: absolute; left: 48.2%; top: -6px; padding: 0 3px; font-size: 24px; font-weight: bold; color: #C8A000; background: white;
}
/* airplane ruler */
.airplane { background: linear-gradient(90deg, rgba(0,0,0,0), rgba(169,169,169,1)); width: 100%; height: 3px; color: transparent;
}
.airplane:after { content: '\002708'; position: absolute; right: 0%; top: -16px; padding: 0 10px 0 4px; font-size: 24px; color: #000000; background: white;
}
Developer | Dirk Drijkoningen |
Username | RedJokingInn |
Uploaded | January 19, 2023 |
Rating | 3 |
Size | 1,874 Kb |
Views | 8,096 |
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 |
DataTables buttons and bootstrap 3 | 3,998 Kb |
Bootstrap Dynamic Modal | 3,216 Kb |
Fixed table header | 2,995 Kb |
DataTables example of styling Excel export | 5,395 Kb |
Maanden en dagen | 1,383 Kb |
DataTables Template | 3,037 Kb |
DataTables Excel cell style | 3,418 Kb |
Just a test | 3,868 Kb |
Functie en array | 1,477 Kb |
For loop | 1,388 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 |
Calendar | Miroot | 2,033 Kb |
BenU Maintenance Site | Ksherman | 4,893 Kb |
Box Shadow Effects | Retrofuturistic | 2,143 Kb |
CSS Piano | Dannystyle | 5,138 Kb |
Virtual vinyl | Davidpanik | 3,474 Kb |
Layout 11 | Altynai | 1,690 Kb |
CSS Donut Charts | Seanstopnik | 2,908 Kb |
Hamburger Menu Animation | Salmanraza | 2,580 Kb |
Fullscreen Parallax | Bassta | 3,313 Kb |
Slide out Menu | Rbiggs | 4,936 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!