I need to enhance the appearance of specific rows in my table by adding a darker border at the bottom.
To achieve this, I have assigned a custom class (des-rec-row
) to the rows and included the following CSS code:
.des-rec-row {
border-bottom: 1px solid #111;
}
Despite seeing the class and css property as active in Chrome's dev tools, the border is not displaying correctly. When hovering over the property, I can see where the border should be.
This issue has also been replicated in https://jsfiddle.net/onLuw2pa/. Adding border-bottom: 1px solid black
to any of the rows in the dev tools does not change anything.
Could this be due to a specificity problem? Is it related to inheritance or overlapping styles? As someone with limited expertise in CSS, I would appreciate assistance in resolving this matter.
EDIT----
Additional jsFiddle link showcasing ineffective CSS: https://jsfiddle.net/n3o78yL1/