Is it possible to limit number of li
elements in ol
and ul
directly through html?
If I want to do it with javascript or jquery, how would I do it?
You can do it with CSS 3, if you finally want to hide them.
li:nth-of-type(1n+15) {
display: none;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With