Is there any way to specify a CSS selector for a lonely child? -
i want have different style list item when list has 1 element, there way css?
the selector want :only-child
so can use in css: li:only-child { }
or p:only-child {}
apply-it on element
Comments
Post a Comment