Loading tutorials
:first-child and :last-child. Here you will learn the An+B notation that :nth-child() uses to pick elements by position.2 min read:nth-child() and An+B expressions from the previous chapters, plus type, class, and descendant selectors. Here you will learn how to count siblings by element type instead of by position alone.2 min read+). You should also know the difference between a pseudo-class and a pseudo-element from earlier in this tutorial.2 min read:where(), :is(), `:not2 min readdisplay values.2 min read:focus, :focus-visible, and :focus-within. It covers three accessibility problems: removed focus indicators, generated content that assistive technology reads 3 min read