UNPKG

fixins

Version:

A collection of functions and mixins for use with precss and postcss-functions

25 lines (21 loc) 500 B
'use strict'; module.exports = horizontalList; const parseArgs = require('../parse-args'); /** * ### `fx-horizontal-list` * * Bare bones horizontal list. Note that this mixin * is meant to be placed directly under a `ul|ol` or * class placed directly on a `ul|ol` */ function horizontalList() { return { 'list-style-type': 'none', display: 'inline-block', 'padding-left': 0, '> li': { display: 'inline-block', float: 'left' } }; }