Collection of free HTML and CSS <hr>
code examples. Update of August 2018 collection. 6 new items.
Related Articles


Links
Made with
- HTML / CSS (SCSS)
About the code
Animated <hr>
Animated hr (element BAM + modifiers).
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -

Links
Made with
- HTML / CSS (SCSS)
About the code
Fullwidth <hr>
Overflow the parents container and stretch it to 100vw
.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -

Links
Made with
- HTML / CSS
About the code
HR with CSS
HR with CSS generated content.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -

Links
Made with
- HTML / CSS
About the code
<hr>
Atlas themed horizontal line (hr
).
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -

Links
Made with
- HTML / CSS
About the code
HTML <hr> tags
HTML <hr>
with custom CSS.
Compatible browsers: Chrome (partially), Edge (partially), Firefox, Opera (partially), Safari (partially)
Dependencies: font-awesome.css

Links
Made with
- HTML / CSS (SCSS)
About the code
HR with Centered Text
Little dynamic HR tag that still pulls the content from the HTML, but gives it a bit more style. It also fails gracefully to a standard HR tag.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -

Links
Made with
- HTML / CSS (SCSS)
About the code
Some HR Styles
Messing around with some horizontal rule styles.
Compatible browsers: Firefox
Dependencies: -

Links
Made with
- HTML / CSS
About the code
The Humble HR
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: yes
Dependencies: -


Links
Made with
- HTML / CSS / JavaScript
About the code
Humble <hr>
A very simple and subtle approach to <hr>
s with an .activated
state. Added label siblings to show additional information.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: jquery.js

Links
Made with
- HTML / CSS
About the code
HTML <hr>
Nice combination of <hr>
style and content.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -

Links
Made with
- HTML / CSS
About the code
HR Example
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Responsive: no
Dependencies: -
Links
Made with
- HTML / CSS
About the code
Knight Rider HR
Single element hr
with kitt and karr light bar effect.
Compatible browsers: Chrome, Firefox, Opera, Safari
Responsive: no
Dependencies: -

Links
Made with
- HTML / CSS (SCSS)
About the code
The Humble HR
Uses CSS counters. Base-64, CSS3 animations. Pretty cheesy at the moment but this is more to demonstrate what you can do without compromising semantics and using only a single element to do quite a lot.
Compatible browsers: Firefox
Responsive: yes
Dependencies: -

Links
Made with
- HTML / CSS
About the code
Subtle HR
Compatible browsers: Firefox
Responsive: no
Dependencies: -

Links
Made with
- HTML (Haml) / CSS (SCSS) / JS (CoffeeScript)
About the code
A Bit Of Elegance
The <hr>
element is used to add some finesse to a responsive and beautifully typeset article.
Compatible browsers: Firefox
Responsive: yes
Dependencies: -

Links
Made with
- HTML / CSS
About the code
Simple Styles for Horizontal Rules
18 Simple Styles for horizontal rules (<hr>
CSS design).
Compatible browsers: Chrome (partially), Edge (partially), Firefox, Opera (partially), Safari (partially)
Dependencies: -

Links
Made with
- HTML / CSS (SCSS) / JavaScript
About the code
HR Department
List of stylized horizontal rules.
Compatible browsers: Chrome, Edge, Firefox, Opera, Safari
Dependencies: -