Sunday 8th January, 2023
Here is an example of how you can create nice border with HTML and CSS.
h2::after, h3::after, h4::after {
content: “”; /* This is necessary for the pseudo element to work. */
display: block; /* This will put the pseudo element on its own line. */
width: 100px; /* Change this to whatever width you want. */
padding-top: 20px; /* This creates some space between the element and the border. */
border-bottom: 4px solid #feb633; /* This creates the border. You can replace the color with the one you want. */
}
You can learn more by following my social media:
Support my blog by this link: https://buymeacoffee.com/edx126
Posted by Edgar Hovhannisyan