-
Notifications
You must be signed in to change notification settings - Fork 16
Pockets
Michael Mathews edited this page Nov 1, 2018
·
3 revisions
A Pocket allows you to reveal additional content without leaving the page you are on. Pockets are used to avoid over-filling screens with excessive amounts of content.
Documented here: http://www.bbc.co.uk/gel/guidelines/pocket
These are examples of Pockets we've observed in the wild.
Seen here: https://www.bbc.co.uk/academy/en

<div class="pocket__container">
<h2>Learn more with the BBC Academy</h2>
<div>
<div class="card">
...
</div>
<div class="card">
...
</div>
<div class="card">
...
</div>
</div>
<div class="pocket__toggle">
<a>Show more</a>
</div>
</div>Seen here: https://www.bbc.co.uk/cbbc/games

<div class="grid">
<div aria-expanded="false">
<ul class="content-list">
<li class="content-list__item">
<a class="content-card">
...
</a>
</li>
<li class="content-list__item">
<a class="content-card">
...
</a>
</li><li class="content-list__item">
<a class="content-card">
...
</a>
</li>
</ul>
</div>
<div class="pocket__controls">
<a class="button__link">More Games</a>
</div>
</div>