<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
<hr>
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@600&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width: 100vw;
min-height: 100vh;
padding: 5vmin;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: "Exo", Arial, sans-serif;
background-color: #151522;
gap: 10vmin;
}
hr {
box-sizing: content-box;
height: 0;
border: none 0;
overflow: visible;
width: 100%;
}
hr:nth-child(1) {
height: 1px;
background: #333;
background-image: linear-gradient(to right, #ccc, #333, #ccc);
}
hr:nth-child(2) {
height: 1px;
background-image: linear-gradient(
to right,
rgba(255, 255, 255, 0),
rgba(255, 255, 255, 0.75),
rgba(255, 255, 255, 0)
);
}
hr:nth-child(3) {
border-bottom: 1px dashed #ccc;
}
hr:nth-child(4) {
height: 12px;
box-shadow: inset 0 12px 12px -12px rgba(255, 255, 255, 0.5);
}
hr:nth-child(5) {
height: 0;
border-top: 1px solid rgba(100, 100, 100, 0.1);
border-bottom: 1px solid rgba(260, 260, 260, 0.3);
}
hr:nth-child(6) {
height: 30px;
border-style: solid;
border-color: #e91535;
border-width: 1px 0 0 0;
border-radius: 20px;
}
hr:nth-child(6)::before {
display: block;
content: "";
height: 30px;
margin-top: -31px;
border-style: solid;
border-color: #e91535;
border-width: 0 0 1px 0;
border-radius: 20px;
}
hr:nth-child(7) {
border-top: medium double currentColor;
color: #f90;
position: relative;
}
hr:nth-child(7):after {
content: "§";
position: absolute;
font-size: 1.5em;
padding: 0 0.5em;
background: #151522;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
hr:nth-child(8) {
height: 1px;
position: relative;
background-color: #39d1b4;
}
hr:nth-child(8)::before {
content: "";
width: 16px;
height: 16px;
background: inherit;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 50%;
}
hr:nth-child(9) {
height: 1px;
position: relative;
background-color: #39d1b4;
}
hr:nth-child(9)::before {
content: "";
width: 16px;
height: 16px;
background: inherit;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(45deg);
}
hr:nth-child(10) {
position: relative;
height: 1px;
color: #ff5722;
background-color: currentColor;
}
hr:nth-child(10)::before {
content: "Semantic HTML";
font-size: 12px;
font-weight: 500;
letter-spacing: 0.32em;
text-transform: uppercase;
background-color: #151522;
color: inherit;
border: 1px solid currentColor;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 5px 10px;
}
hr:nth-child(11) {
background-color: #bada55;
display: block;
height: 8px;
width: 8px;
border-radius: 50%;
position: relative;
}
hr:nth-child(11)::before,
hr:nth-child(11)::after {
content: "";
background-color: #bada55;
display: block;
height: 8px;
width: 8px;
border-radius: 50%;
position: absolute;
}
hr:nth-child(11)::before {
left: -32px;
}
hr:nth-child(11)::after {
right: -32px;
}
hr:nth-child(12) {
height: 6px;
background-image: linear-gradient(
to right,
#ff5852 0%,
#ff5852 25%,
#ff9000 25%,
#ff9000 50%,
#ffd300 50%,
#ffd300 75%,
#3dcd49 75%,
#3dcd49 100%
);
background-size: 25% 100%;
background-repeat: repeat-x;
}
hr:nth-child(13) {
height: 10px;
background-size: 20px 10px;
background-image: radial-gradient(circle, #09f 4px, transparent 4.5px);
background-repeat: repeat-x;
background-position: center;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.