Skip to content Skip to sidebar Skip to footer

CSS: How To Apply Style To A Specific Class

I have a css question please. I have the following html code: This generates the c

Solution 1:

if you want to select a class with an specific parent use:

.parentclass > .childclass {
  // css rules... maybe use !important; to force an override
}

in this case you have to set border-bottom to "none" or "unset"


Solution 2:

Use the following selector:

.parentclass > .childclass

Solution 3:

You may try,

.list-md .item-search-dummy .item-inner{
    border-bottom: none !important;
 }

Post a Comment for "CSS: How To Apply Style To A Specific Class"