Answers for "how to select the last element having a class in css"

CSS
2

css last element with class name

[class~='list']:last-of-type  {
    background: #000;
}
Posted by: Guest on June-30-2021

Code answers related to "how to select the last element having a class in css"

Browse Popular Code Answers by Language