List Overflow

HTML

<nav class="ph3 ph5-ns pv4">
  <div class="nowrap overflow-x-auto">
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 1">Link 1</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 2">Link 2</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 3">Link 3</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 4">Link 4</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 5">Link 5</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 6">Link 6</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 7">Link 7</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 8">Link 8</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 9">Link 9</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 10">Link 10</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 11">Link 11</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 12">Link 12</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 13">Link 13</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 14">Link 14</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 15">Link 15</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 16">Link 16</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 17">Link 17</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 18">Link 18</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 19">Link 19</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 20">Link 20</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 21">Link 21</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 22">Link 22</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 23">Link 23</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 24">Link 24</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 25">Link 25</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 26">Link 26</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 27">Link 27</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 28">Link 28</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 29">Link 29</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 30">Link 30</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 31">Link 31</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 32">Link 32</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 33">Link 33</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 34">Link 34</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 35">Link 35</a>
    <a class="link dim gray f5 f4-ns dib mr3" href="#" title="Link 36">Link 36</a>
  </div>
</nav>

css

@import './_normalize';

.dib {
    display: inline-block;
}

.link {
    text-decoration: none;
    transition: color .15s ease-in;
}

.link:link, .link:visited {
    transition: color .15s ease-in;
}

.link:hover {
    transition: color .15s ease-in;
}

.link:active {
    transition: color .15s ease-in;
}

.link:focus {
    transition: color .15s ease-in;
    outline: 1px dotted currentColor;
}

.overflow-x-auto {
    overflow-x: auto;
}

.gray {
    color: #777;
}

.pv4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.ph3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mr3 {
    margin-right: 1rem;
}

.f5 {
    font-size: 1rem;
}

.nowrap {
    white-space: nowrap;
}

.dim {
    opacity: 1;
    transition: opacity .15s ease-in;
}

.dim:hover, .dim:focus {
    opacity: .5;
    transition: opacity .15s ease-in;
}

.dim:active {
    opacity: .8;
    transition: opacity .15s ease-out;
}

@media screen and (min-width: 30em) {
    .ph5-ns {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .f4-ns {
        font-size: 1.25rem;
    }
}

Css stats for this component

Gzipped Size
408B
Selectors
20
Declarations
26

Install via npm Only installs the needed tachyons-modules for this component

npm i --save tachyons-display tachyons-links tachyons-overflow tachyons-skins tachyons-spacing tachyons-type-scale tachyons-white-space tachyons-hovers

Other Components

Article Lists

Title Preview Author Media Flipped Title Preview Author Media

Articles

Feature Full Bleed Background Headline Title Text Large Title Text Left Title Top Border Left Title Photo Essay Single Column Large Title Title Highlight Header Cover Title Text Image Title Text

Avatars

Circle Border Circle Double Ring Rounded Large Rounded Medium Rounded Small Square

Banners

Basic Info Single Cta

Buttons

Basic Previous Next Basic Rounded Extra Small Basic Rounded Small Basic Rounded Basic Centered Icons Pill Grow Pill

Cards

Album Centered Album Left Basic Text Card News Card Product Card Profile Card Title Subtitle Profile Card Suggested Profile Text Card

Collections

Albums Movies Posters Dim Posters Square Title Subtitle Vinyl

Definition Lists

Inline Simple

Error Pages

404

Footers

Centered Icons Hover Glow Inline Text Simple Large Type Small Print Social Circles Social Simple Text Social Simple Social Text Social Studios

Forms

Checkbox List Input Text Label Newsletter Subscription Password Sign In Sign Up Textarea Label

Headers

Circle Avatar Title Subtitle Rounded Avatar Title Subtitle Startup Hero

Layout

Aspect Ratio 16x9 Aspect Ratio 1x1 Aspect Ratio 3x4 Aspect Ratio 4x3 Aspect Ratio 4x6 Aspect Ratio 5x7 Aspect Ratio 5x8 Aspect Ratio 6x4 Aspect Ratio 7x5 Aspect Ratio 8x5 Aspect Ratio 9x16 Centered Container Five Column Collapse Alternate Five Column Collapse Asymmetrical Five Column Collapse Mixed Five Column Collapse One Five Column Fixed Table Layout Grid Mixed Rows Fixed Table Layout Grid Flag Object Bottom Flag Object Collapse Flag Object Top Flag Object Four Column Collapse Two Collapse One Four Column Collapse Two Four Column Full Bleed 16x9 Full Bleed 4x6 Full Bleed 5x7 Full Bleed 5x8 Full Bleed 6x4 Full Bleed 7x5 Full Bleed 8x5 Full Bleed 9x16 Full Bleed Square Full Screen Centered Title Horizontal Aspect Ratios Three Column Collapse One Three Column Two Column Collapse One Two Column

Links

Animate Background Color Animate Color Dim No Underline Underline On Hover

Lists

Block Item Dotted Border Border Spaced Border Tight Contact Phone Follower Notifications Rounded Square Avatar Follower Notifications Hashtags Items Image Title Price Large Links Inline Links Animate Color Links Inline Links With Borders Inline Slab Stat Large Slab Stat Small Slab Stat Title Text

Marketing

Iphone App

Nav

Fixed Semi Transparent Large Title Link List List Overflow Logo Links Inline Collapse Logo Links Inline Logo Titles Links Centered Minimal Sign Up Title Link List

Pages

4x4 Mixed Grid Double Portfolio Project Swiss Cover Five Columns

Quotes

Left Border Pull Quote

Tables

Basic Striped Dark

Text

Large Paragraph Narrow Paragraph Paragraph Small Narrow Paragraph Small Paragraph Title Subtitle Centered Wide Paragraph