In my code, I have successfully created a horizontal line separator using the following CSS:
/* line separator */
.aSeparator {
border-top: 1px solid #5f656d;
height: 1px;
margin: 16px 0;
}
You can view the result here.
This line separator adjusts its length dynamically based on the window size, which is pretty neat. But now, I'm wondering how to create a vertical line separator.
I attempted using border-left
, but it didn't seem to achieve the desired effect.