Loading tutorials
<ul> can become a navigation bar. It assumes you know basic HTML elements and attributes, basic CSS selectors and properties, and the box model (margin, padding, border). You should also have the semantic7 min readnav element holding a ul of li elements, each containing an7 min readnav, ul and li markup, the lis6 min readaria-current, to serve both groups.7 min readnav containing a ul of links, laid out with Flexbox and styled for hover and the current page. Here you will check that people using a keyboard or a screen reader can use that 7 min readposition: sticky. It also covers why the declaration sometimes seems to do nothing, and what a sticky bar changes for the rest of the page.7 min read1rem of padding on each side can fit in 360 pixels, but a bar with eight links cannot. This chapter shows how to detect a narrow screen, change the layout for it, and avoid the usual mista8 min read