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

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -