over 4 years ago
The :nth-child selector in CSS code is here it will allow you to select one or more elements according to the formula. It is used to style content based on parent and child relationship.
:nth-child(even), :nth-child(odd), :nth-child(n+3)
In the above code, Different row will show different color in the background. This will change by the formula nth-of-type(2n). when the value of n is 1, row 2 will change its background color. when the value is 2, row 4 will active itself.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2020 FindNerd.com. All rights reserved.
Sign up using