/*number (2); formula (2n+0), keyword(odd), keyword(even)*/
p:nth-last-of-type(
2
) {
color
:
#00F
;
font-size
18px
}
/*number (2); formula (2n+0), keyword(odd), keyword(even)*/ p:nth-last-of-type(2) { color: #00F; font-size: 18px; }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
link
href
"css/style.css"
rel
"stylesheet"
</
body
div
p
>Hello World!</
>Привет Мир!</
>To be or not to be?</
>Быть или не быть?</
hr
>One</
>Two</
>Three</
>Four</