Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css last child with class

/*This will only work if the last child of someEID has 
the class .myclassName 
if the last child does not have class name us js*/
#someEID .myClassName:last-child {
    background: blue;
}
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #css #child #class
ADD COMMENT
Topic
Name
6+8 =