Hi Wapmaster! Share your Idea.
Home» css »css design for next limit sn :nth-child(even/odd) selector with class

css design for next limit sn :nth-child(even/odd) selector with class

:nth-child(2)p { background: red; } Odd and even are keywords that can be used to match child elements whose index is odd or even (the index of the first child is 1). Here, we specify two different background colors for odd and even p elements: :nth-childp (odd){ background: red; } p:nth-child (even){ background: blue; }

Kizmaster v4

(21999) views (31 March 2024)


About alex-()

Hello I am alex, My age years . I got
Rank of kizmaster. I Love This site . More info. Visit my profile

(0) Comments here

    Sir No Comment on this post Please Make a New


SIMILAR Category » css

3 of 20 « 12345 20 »
Admin
Privacy & Policy
Java gameloft
Back To Top