The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Need help with bottom border Gradient
I’ve tried to help myself from google and posts in this site like https://css-tricks.com/forums/topic/gradient-border-bottom-help-needed/ and https://css-tricks.com/examples/GradientBorder/ , but I can’t make it work. Here’s what I have somewhat: https://jsfiddle.net/pLmfydy3/1/ I want to make the gold border have a transparent gradient from the middle to the sides, much like the gentleman from the first link I mentioned. It’s also worth mentioning I can only edit the CSS and not the HTML.
Looking at Paulie’s demo from the 1st linked thread, your positioning isn’t the same. Should be relative on the parent and absolute on the child/pseudo element.
This worked amazingly. Thanks so much